Skip to content

Commit

Permalink
fix process.argv clobber
Browse files Browse the repository at this point in the history
  • Loading branch information
RIAEvangelist committed Aug 24, 2017
1 parent ec4ff27 commit b89630c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-http-server",
"version": "8.1.1",
"version": "8.1.2",
"description": "A very simple and fast http server for node, bash, and spawnable from C, Python etc. It is lightweight and great for embedded solutions as well as everyday development or public facing apps.",
"main": "server/Server.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion server/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const fs=require('fs');

const passedArgs = process.argv.splice(2),
const passedArgs = process.argv.slice(2),
argCount = passedArgs.length,
args = {};

Expand Down

0 comments on commit b89630c

Please sign in to comment.