deal with js-yaml warning
This commit is contained in:
parent
151136381e
commit
3a31064ded
|
@ -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 New Issue