Skip to content

Commit

Permalink
fix repak.js on newer versions of node
Browse files Browse the repository at this point in the history
There were 2 separate issues:
* the specified version of  uses os.tmpDir() instead of os.tmpdir()
* the  package doesn't work anymore, and should be replaced by the built-in

This fixes inolen#69.
  • Loading branch information
glennhartmann committed Sep 12, 2020
1 parent 977b188 commit 9a29f01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/repak.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var fs = require('fs');
var logger = require('winston');
var path = require('path');
var exec = require('child_process').exec;
var execSync = require('execSync').exec;
var execSync = require('child_process').execSync;
var os = require('os');
var temp = require('temp');
var wrench = require('wrench');
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@
"async": "~0.2.9",
"buffer-crc32": "~0.2.1",
"ejs": "~0.8.4",
"execSync": "~1.0.1-pre",
"express": "~3.3.5",
"optimist": "~0.6.0",
"quakejs-files": "0.0.3",
"send": "^0.16.2",
"temp": "~0.5.1",
"temp": "^0.9.1",
"underscore": "~1.5.1",
"winston": "2.4.0",
"wrench": "~1.5.4",
Expand Down

0 comments on commit 9a29f01

Please sign in to comment.