Browse files

take the version number from the package.json file

  • Loading branch information...
1 parent 6656aca commit 3e0e02fd75fee159a9854f04e699c69a2ca2b78d @jfromaniello committed Jun 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/winser
View
2 bin/winser
@@ -16,7 +16,7 @@ String.prototype.supplant = function (o) {
};
program
- .version("0.0.4")
+ .version(require("../package.json").version)
.option("-i, --install", "install the node application as a windows service")
.option("-r, --remove", "remove the windows service for the node application")
.option("-s, --silent", "supress any information in the console")

0 comments on commit 3e0e02f

Please sign in to comment.