Skip to content

Commit

Permalink
Use realPath instead of path to try to fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
insin committed Jul 21, 2016
1 parent 0a6792c commit 1c80159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/package-config-checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function check(json, seen, prefix) {
if (json.files) {
console.log(prefix + green(figures.tick + ' ' + json._id + ' [files]'))
}
else if (fileExists(path.join(json.path, '.npmignore'))) {
else if (fileExists(path.join(json.realPath, '.npmignore'))) {
console.log(prefix + green(figures.tick + ' ' + json._id + ' [.npmignore]'))
}
else {
Expand Down

0 comments on commit 1c80159

Please sign in to comment.