1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01:00

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

@ -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) {