0
Fork 0
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:
Juan Picado @jotadeveloper 2019-05-20 21:30:51 +02:00
parent cc7bd999d3
commit 8cf3966d5c
No known key found for this signature in database
GPG key ID: 18AC54485952D158

View file

@ -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.'));
}