b2g-scripts
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -0,1 +1,4 @@ | ||
# 0.2.1 | ||
* server's port option can now handle :7777 as a port. | ||
# 0.2.0 | ||
@@ -2,0 +5,0 @@ |
{ | ||
"name": "b2g-scripts", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "James Lal <jlal@mozilla.com>", | ||
@@ -5,0 +5,0 @@ "description": "B2G/Gaia Helper Scripts", |
@@ -23,3 +23,4 @@ var Server = require('../lib/script')({ | ||
fsPath = require('path'), | ||
fs = require('fs'); | ||
fs = require('fs'), | ||
port = parseInt(argv.port.toString().replace(/[^0-9]/g, '')); | ||
@@ -31,2 +32,4 @@ if (!fsPath.existsSync(argv.gaia)) { | ||
console.log(port); | ||
var apps = fs.readdirSync(fsPath.join(argv.gaia, 'apps')); | ||
@@ -49,3 +52,3 @@ var file = new(static.Server)(argv.gaia); | ||
}); | ||
}).listen(argv.port); | ||
}).listen(port); | ||
@@ -52,0 +55,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12209
330