Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix quotes in kbn-i18n build scripts (#26120)
**Bug** `packages/kbn-i18n/package.json`: ``` ... scripts: { "kbn:bootstrap": "run-p 'build:babel:** --quiet' build:tsc", "kbn:watch": "run-p 'build:** --watch'", }, ... ``` These commands throw errors on Windows because of wrong command line arguments parsing (`'build:babel:**`, `--quiet'` and `build:tsc`): ``` @kbn/i18n: $ run-p 'build:babel:** --quiet' build:tsc × @kbn/i18n: ERROR: Invalid Option: --quiet' ``` So `yarn kbn bootstrap` fails on Windows **Fix** Use cross-platform escaped double quotes instead of single quotes: ``` ... scripts: { "kbn:bootstrap": "run-p \"build:babel:** --quiet\" build:tsc", "kbn:watch": "run-p \"build:** --watch\"", }, ... ```
- Loading branch information