fix: wrong reference after rebase

This commit is contained in:
Juan Picado @jotadeveloper 2017-12-06 00:30:02 +01:00 committed by juanpicado
parent 2315ef01e1
commit edf2ff343d
1 changed files with 1 additions and 2 deletions

View File

@ -48,6 +48,7 @@ const cliListner = commander.listen;
try {
configPathLocation = findConfigFile(commander.config);
verdaccioConfiguration = Utils.parseConfigFile(configPathLocation);
process.title = verdaccioConfiguration.web && verdaccioConfiguration.web.title || 'verdaccio';
logger.logger.warn({file: configPathLocation}, 'config file - @{file}');
} catch (err) {
@ -55,8 +56,6 @@ try {
process.exit(1);
}
process.title = config.web && config.web.title || 'verdaccio';
startVerdaccio(verdaccioConfiguration, cliListner, configPathLocation, pkgVersion, pkgName, listenDefaultCallback);
process.on('uncaughtException', function(err) {