Skip to content

Commit

Permalink
Merge pull request #1810 from al-k21/bare-fix
Browse files Browse the repository at this point in the history
test/bare.js: fix file path
  • Loading branch information
goto-bus-stop committed Feb 28, 2018
2 parents d430656 + 1ab192c commit 8bbddf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bare.js
Expand Up @@ -122,7 +122,7 @@ test('bare inserts dynamic __filename,__dirname', function (t) {
ps.stdout.pipe(concat(function (body) {
vm.runInNewContext(body, {
require: require,
__dirname: path.dirname(file),
__dirname: process.cwd(),
console: {
log: function (msg) {
t.same(msg, [
Expand Down

0 comments on commit 8bbddf7

Please sign in to comment.