This PR fixes theme initialization issue on Windows using Powershell/Command prompt while running npm run init command. Explicitly uses node to run the ./bin/init.js tool.
How to Test?
On Windows platform using either Powershell or Command prompt.
Run git checkout master to checkout to master branch.
Run npm install to run JS dependencies.
Run npm run init to initialize theme, but the command should throw error as in the screenshot.
Run git checkout fix/66 to switch branch.
Run npm run init to initialize theme, now the command should work properly as intended.
Description
This PR fixes theme initialization issue on Windows using Powershell/Command prompt while running
npm run init
command. Explicitly uses node to run the./bin/init.js
tool.How to Test?
git checkout master
to checkout to master branch.npm install
to run JS dependencies.npm run init
to initialize theme, but the command should throw error as in the screenshot.git checkout fix/66
to switch branch.npm run init
to initialize theme, now the command should work properly as intended.Screenshots
Before:
After:
To-do
Fixes/Covers issue
Fixes #66