0
Fork 0
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:
Alex Kocharin 2013-12-19 18:50:31 +04:00
parent 151136381e
commit 3a31064ded

View file

@ -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)')