forked from sombochea/verdaccio-ui
refactor: corrects eslint and variable name spacing (#31)
* refactor: corrects eslint and variable namespacing * chore: fixes git conflict * chore: fixes eslint
This commit is contained in:
committed by
Juan Picado @jotadeveloper
parent
f000438b86
commit
96b65d969a
@@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @prettier
|
||||
*/
|
||||
|
||||
const fs = require('fs');
|
||||
const startServer = require('verdaccio').default;
|
||||
const yalm = require('js-yaml');
|
||||
@@ -11,9 +15,9 @@ const handler = function(webServer, addr, pkgName, pkgVersion) {
|
||||
|
||||
process.on('SIGTERM', () => {
|
||||
webServer.close(() => {
|
||||
console.log('Process terminated')
|
||||
})
|
||||
})
|
||||
console.log('Process terminated');
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
startServer(configJsonFormat, 8080, '', '1.0.0', 'verdaccio', handler);
|
||||
|
||||
Reference in New Issue
Block a user