Skip to content

Commit

Permalink
🔧 adds the (file:///) protocol to the path of the html phantomjs shou…
Browse files Browse the repository at this point in the history
…ld render

on msdos & derivatives this is necessary to make phantomjs find the file at all
  • Loading branch information
sverweij committed Jul 16, 2016
1 parent d302f0a commit 4322363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module.exports = (() => {
args.push(path.join(__dirname, 'cli-phantom.js'));
}

args.push(path.join(__dirname, 'cli-phantom.html'));
args.push(`file:///${path.join(__dirname, 'cli-phantom.html')}`);
args.push(JSON.stringify(pAST, null, ''));
args.push(pOutputType);
args.push(path.relative(__dirname, path.dirname(require.resolve('mscgenjs'))));
Expand Down

0 comments on commit 4322363

Please sign in to comment.