Skip to content

Commit

Permalink
fix(power-doctest/javascript): add filepath to run method
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Aug 25, 2019
1 parent 9999e1f commit 40678bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Also, you should consider to use { "runMode": "any" }` : ""}`));
}
});
const script = new VMScript(poweredCode, options.filePath);
vm.run(script);
vm.run(script, options.filePath);
// No assertion code
if (totalAssertionCount === 0) {
restoreListener();
Expand Down

0 comments on commit 40678bb

Please sign in to comment.