mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
fix: warning text is hard to read when running under root
This commit is contained in:
parent
81ee0fa3f2
commit
3ac038fd8b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ 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.'));
|
||||
global.console.warn(bgYellow().red('*** WARNING: Verdaccio doesn\'t need superuser privileges. Don\'t run it under root! ***'));
|
||||
}
|
||||
|
||||
const MIN_NODE_VERSION = '6.9.0';
|
||||
|
|
Loading…
Reference in a new issue