Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
fix: make commands work on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcalpena committed Sep 14, 2020
1 parent b30b219 commit e9cb770
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/utils/bootstrap-ui-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import {join} from 'path';
import {SpawnSyncStrict} from './spawn-sync-strict';
import {answersObject} from './create-utils';

const defaultSpawnOptions = {stdio: 'inherit', encoding: 'utf-8'} as const;
/* Use shell: true to work on Windows */
const defaultSpawnOptions = {stdio: 'inherit', encoding: 'utf-8', shell: true} as const;

/* Context object is passed by flatiron during plugin registration.
Check /lib/cli/start.ts app.use(loaderPlugin, {...}) call for more information.
Expand Down

0 comments on commit e9cb770

Please sign in to comment.