Closed BridgeAR closed 6 years ago
Hi @BridgeAR,
Thanks for your contribution.
You're confusing fs.write
of PhantomJS
's file system module with the one from NodeJS
's file system modue. That file is the bridge between this plugin and PhantomJS
. This plugin passes that file directly to PhantomJS
in order to be executed.
For more information about this method, see fs.write
docs.
As a result, I will have to close this PR. Thanks a lot for taking the time to open this PR.
@Arkni thanks a lot for the heads up! I did indeed just go through a lot of modules that seemed they were impacted by this and did not dig any deeper. But good to know something new about PhantomJS
.
You're welcome :)
This makes sure errors will properly propagate to the user instead of being swallowed.
In the upcoming Node.js 10.x this will also result in an error. Refs: https://github.com/nodejs/node/pull/18668