mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
fix: add missing pkg version and name on start up
This commit is contained in:
parent
cc7bd999d3
commit
8cf3966d5c
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ import {startVerdaccio, listenDefaultCallback} from './bootstrap';
|
|||
import findConfigFile from './config-path';
|
||||
import { parseConfigFile } from './utils';
|
||||
|
||||
require('pkginfo')(module);
|
||||
|
||||
if (process.getuid && process.getuid() === 0) {
|
||||
global.console.warn(bgYellow('Verdaccio doesn\'t need superuser privileges. Don\'t run it under root.'));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue