Skip to content

Commit

Permalink
Attempt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Feb 14, 2020
1 parent daa037d commit 1d862f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Test against this version of Node.js
environment:
matrix:
- nodejs_version: "12"
# - nodejs_version: "12"
- nodejs_version: "10"
- nodejs_version: "8"
# - nodejs_version: "6"
# - nodejs_version: "4"

matrix:
fast_finish: true
fast_finish: false

# allow_failures:
# - nodejs_version: "4" # for eslint 5
Expand Down
4 changes: 4 additions & 0 deletions utils/resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,12 @@ function tryRequire(target, sourceFile) {
return undefined
}

try {
// If the target exists then return the loaded module
return require(resolved)
} catch(e) {
console.log({resolved})
}
}

// http://stackoverflow.com/a/27382838
Expand Down

0 comments on commit 1d862f5

Please sign in to comment.