Skip to content

Commit

Permalink
Merge pull request #149 from bennycooly/master
Browse files Browse the repository at this point in the history
Fix deprecatione error that caused 'node-gyp rebuild' to fail on Windows
  • Loading branch information
ekarak authored Mar 10, 2017
2 parents 548160b + 7c434e9 commit 67964e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/install-ozw.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var path = require('path');
var request, unzip, gyp, wrench; //these are dynamically required later on

var originalPath = process.cwd();
var tempPath = path.resolve(require('os').tmpDir() + '/ozwinstall-' + Math.random().toString(36).substring(7));
var tempPath = path.resolve(require('os').tmpdir() + '/ozwinstall-' + Math.random().toString(36).substring(7));
var installPath = path.resolve(process.env.HOMEPATH + '/AppData/Local/OpenZWave/');
var ozwSourceUrl = "https://github.com/OpenZWave/open-zwave/archive/master.zip";
var gypOptions = [];
Expand Down

0 comments on commit 67964e3

Please sign in to comment.