netlify-plugin-inline-functions-env icon indicating copy to clipboard operation
netlify-plugin-inline-functions-env copied to clipboard

Overwriting `PWD`?

Open btjones opened this issue 3 years ago • 0 comments

It appears this plugin is replacing the value of the PWD environment variable with what appears to be the PWD of the plugin itself during build time. Is this a bug? I am NOT setting PWD myself, I'm just attempting to get the system defined variable.

If I console.log(process.env) then PWD is set to /var/task.

If I console.log(process.env.PWD) then PWD is set to /opt/build/repo.

btjones avatar Aug 15 '21 04:08 btjones