Skip to content

Commit

Permalink
[mate-scripts] v1.9.10 use NO_COLOR only on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrinko committed Sep 4, 2024
1 parent c453006 commit 79a2de9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mate-scripts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mate-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mate-academy/scripts",
"version": "1.9.7",
"version": "1.9.10",
"description": "Scripts to init, run, test, deploy Mate academy homework projects",
"main": "bin/mateScripts.js",
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions mate-scripts/src/commands/Test.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,7 @@ export class TestCommand extends Command {

const stdoutListener = (data: any) => {
if (
testsStarted
|| !(
testsStarted || !(
data.toString().includes(`http://localhost:${freePort}`)
|| data.toString().includes('Compiled with warnings')
)
Expand Down
2 changes: 1 addition & 1 deletion mate-scripts/src/services/Vite.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class ViteService {
: '';

const prexif = process.env.CI
? 'NO_COLORS=true '
? 'NO_COLOR=true '
: '';

return execFn(
Expand Down

0 comments on commit 79a2de9

Please sign in to comment.