Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix error when pid only contains digits

  • Loading branch information...
commit 3f49429d9f071e2d31de11c99f5539ce1676aa37 1 parent 827e9ea
@tellnes tellnes authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/stop.js
View
2  bin/stop.js
@@ -19,7 +19,7 @@ p.hub(function (hub) {
var opts = {
drone : argv.drone,
drones : argv.drones,
- pid : argv._.map(function (x) { return x.replace(/^pid#/, '') }),
+ pid : argv._.map(function (x) { return x.toString().replace(/^pid#/, '') }),
};
hub.stop(opts, function (err, drones) {
Object.keys(drones).forEach(function (id) {
Please sign in to comment.
Something went wrong with that request. Please try again.