mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
deal with js-yaml warning
This commit is contained in:
parent
151136381e
commit
3a31064ded
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ var pkg_file = '../package.yaml'
|
|||
, commander = require('commander')
|
||||
, server = require('./index')
|
||||
, crypto = require('crypto')
|
||||
, pkg = require(pkg_file)
|
||||
, pkg = yaml.safeLoad(fs.readFileSync(__dirname + '/' + pkg_file, 'utf8'))
|
||||
|
||||
commander
|
||||
.option('-l, --listen <[host:]port>', 'host:port number to listen on (default: localhost:4873)')
|
||||
|
|
Loading…
Reference in a new issue