Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.configOptions.prodDatabaseType = this.prodDatabaseType;
this.configOptions.searchEngine = this.searchEngine;
this.configOptions.messageBroker = this.messageBroker;
this.configOptions.serviceDiscoveryType = this.serviceDiscoveryType;
this.configOptions.buildTool = this.buildTool;
this.configOptions.enableSwaggerCodegen = this.enableSwaggerCodegen;
this.configOptions.authenticationType = this.authenticationType;
const uaaBaseName = this.uaaBaseName;
if (uaaBaseName) {
this.configOptions.uaaBaseName = this.uaaBaseName;
}
this.configOptions.serverPort = this.serverPort;
// Make dist dir available in templates
this.BUILD_DIR = this.getBuildDirectoryForBuildTool(this.buildTool);
this.CLIENT_DIST_DIR = this.getResourceBuildDirectoryForBuildTool(this.configOptions.buildTool) + constants.CLIENT_DIST_DIR;
}
};
}
if (this.configOptions.languages !== undefined) {
this.languages = this.configOptions.languages;
}
if (this.configOptions.uaaBaseName !== undefined) {
this.uaaBaseName = this.configOptions.uaaBaseName;
}
// Make dist dir available in templates
if (this.configOptions.buildTool === 'maven') {
this.BUILD_DIR = 'target/';
} else {
this.BUILD_DIR = 'build/';
}
this.DIST_DIR = this.BUILD_DIR + constants.CLIENT_DIST_DIR;
},