Skip to content

Commit 706f8c0

Browse files
fix(backend, adj-validator): apply it without colour
1 parent 8e2f6da commit 706f8c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

backend/cmd/dev-config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ boards = ["HVSCU", "HVSCU-Cabinet", "PCU", "LCU", "BCU", "BMSL"]
1919
# ADJ (Architecture Description JSON) Configuration
2020
[adj]
2121
branch = "software" # Leave blank when using ADJ as a submodule (like this: "")
22-
validate = false # Execute ADJ validator before starting backend
22+
validate = true # Execute ADJ validator before starting backend
2323

2424

2525
# Transport Configuration

backend/pkg/adj/validator.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ func Validate() {
2323
// Construct the full path to the ADJ validator script
2424
validatorPath := path.Join(RepoPath, ADJValidatorScript)
2525

26-
trace.Debug().Msgf("Running ADJ Validator using command: %s %s", pyCmd, validatorPath)
26+
trace.Debug().Msgf("Running ADJ Validator using command: %s %s --no-color", pyCmd, validatorPath)
2727

2828
// Execute the ADJ validator script and capture its output
29-
cmd := exec.Command(pyCmd, validatorPath)
29+
cmd := exec.Command(pyCmd, validatorPath, "--no-color")
3030
output, err := cmd.CombinedOutput()
3131

3232
// Log the output of the validator for debugging purposes

0 commit comments

Comments
 (0)