rtCamp / blank-theme

Customized Blank theme based on Underscore and Foundation
25 stars 23 forks source link

fix: theme initialization issue on Windows using Powershell/Command prompt #89

Closed mi5t4n closed 7 months ago

mi5t4n commented 7 months ago

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?

  1. On Windows platform using either Powershell or Command prompt.
  2. Run git checkout master to checkout to master branch.
  3. Run npm install to run JS dependencies.
  4. Run npm run init to initialize theme, but the command should throw error as in the screenshot.
  5. Run git checkout fix/66 to switch branch.
  6. Run npm run init to initialize theme, now the command should work properly as intended.

    Screenshots

Before:

2023-12-12_12-29

After:

2023-12-12_12-26

To-do

Fixes/Covers issue

Fixes #66