Skip to content

Commit

Permalink
Merge pull request #109 from bitovi/106-dont-scan-entire-win-drive
Browse files Browse the repository at this point in the history
update deps and not scanning whole drive in windows
  • Loading branch information
cherifGsoul authored Feb 18, 2019
2 parents b23e4ab + aa2c68d commit 8a27195
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ results

node_modules
npm-debug.log

package-lock.json
.DS_Store
17 changes: 7 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
sudo: true
language: node_js
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install chromium-browser; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install chromium; fi

node_js: 8

addons:
firefox: latest

os:
- linux
- osx
node_js:
- 4
- node
- linux
2 changes: 1 addition & 1 deletion lib/local/platform/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var os = require('os');
var fs = require('fs');
var path = require('path');
var programFiles = os.arch() === "x64" ? process.env["ProgramFiles(x86)"] : process.env.ProgramFiles;
var cwd = path.dirname(programFiles);
var cwd = path.normalize(programFiles);
var appData = appData || process.env.APPDATA;

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"decache": "^4.1.0",
"electron": "^1.6.6",
"electron": "^4.0.0",
"expect.js": "^0.3.1",
"grunt": "^1.0.1",
"grunt-cli": "^1.2.0",
Expand Down

0 comments on commit 8a27195

Please sign in to comment.