deal with js-yaml warning

This commit is contained in:
Alex Kocharin 2013-12-19 18:50:31 +04:00
parent 151136381e
commit 3a31064ded
1 changed files with 1 additions and 1 deletions

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