We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let napaZone = napa.zone.create('test-dirname-zone', { workers: 1 }); let nodeZone = napa.zone.node; napaZone.broadcast('var getDirname = function () { return __dirname; };'); nodeZone.broadcast('var getDirname = function () { return __dirname; };');
napaZone.execute("", "getDirname")
This returns the working directory.
nodeZone.execute("", "getDirname")
This throws exception saying that '__dirname' is undefined.
The text was updated successfully, but these errors were encountered:
Please fix
Sorry, something went wrong.
No branches or pull requests
Napa Zone
This returns the working directory.
Node Zone
This throws exception saying that '__dirname' is undefined.
The text was updated successfully, but these errors were encountered: