Skip to content

Commit

Permalink
small linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SolomoN-ua committed Sep 10, 2019
1 parent cbc64f4 commit 2539c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/readfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = function(file) {
// JS / JSON / CoffeeScript
if (ext.match(/json|js|coffee|ls/)) {
if (!path.isAbsolute(file)) {
file = path.join(process.cwd(), file)
file = path.join(process.cwd(), file);
}
return require(file);
}
Expand Down

0 comments on commit 2539c63

Please sign in to comment.