You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
While running a node.js application on windows machine, process.platform returns darwin
The same behaviour is noticed when using os.platform()
Action version:
Using `actions/setup-node@v2
Platform:
Ubuntu
macOS
Windows
Runner type:
Hosted
Self-hosted
Tools version:
node-version: 16.17.0
Repro steps:
Run any node script and console log process.platform
console.log(process.platform)// returns 'darwin'
Expected behavior:
Should return 'win32'
Actual behavior:
Returns 'darwin'
The text was updated successfully, but these errors were encountered:
Description:
While running a node.js application on windows machine,
process.platform
returnsdarwin
The same behaviour is noticed when using
os.platform()
Action version:
Using `actions/setup-node@v2
Platform:
Runner type:
Tools version:
node-version: 16.17.0
Repro steps:
Run any node script and console log
process.platform
Expected behavior:
Should return
'win32'
Actual behavior:
Returns
'darwin'
The text was updated successfully, but these errors were encountered: