fix(sparo-output-test): force color text in CI

This commit is contained in:
Cheng Liu 2024-03-05 17:09:29 -08:00
parent e494e3cf3a
commit f6c479aea7
No known key found for this signature in database
GPG key ID: EEC8452F7DB85CD6

View file

@ -65,9 +65,9 @@ export async function runAsync(runScriptOptions: IRunScriptOptions): Promise<voi
const { name, args } = scenario;
const result: SpawnSyncReturns<string> = Executable.spawnSync(binPath, args, {
environment: {
...process.env
...process.env,
// Always use color for the output
// FORCE_COLOR: 'true'
FORCE_COLOR: 'true'
}
});