This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Description
Describe the bug
The dsm-storybook publish script fails when the path contains a space:
DSM => Creating Storybook bundle...
'C:\Users\Tom' is not recognized as an internal or external command,
operable program or batch file.
DSM => × Failed to build Storybook. For more details, try to run "build-storybook". For further assistance visit (https://support.invisionapp.com).
When the repository is moved to a path without space it works.
To Reproduce
Steps to reproduce the behavior:
- Download example, e.g. react/dsm-demo-storybook-v5
- Place it inside folder "de mo".
- Make needed updates, e.g. update credentials file.
- Run
dsm-storybook publish and see it fail.
- Rename folder to "demo".
- Run
dsm-storybook publish and see it succeed.
Expected behavior
I should be able to run the demo project.
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Not relevant