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

Commit

Permalink
fix(toolchain): disable term color by default for backend
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Oct 7, 2024
1 parent 2ed757a commit c570646
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/toolchain/src/backend/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ pub async fn build_backend_command_raw(mut opts: BackendCommandOpts) -> Result<C
"BACKEND_DATA_DIR".into(),
backend_data_dir.display().to_string(),
);
opts.env
.insert("RIVET_BACKEND_TERM_COLOR".into(), "never".into());

// Add development Postgres URL if not already specified
//
Expand Down
1 change: 0 additions & 1 deletion packages/toolchain/src/tasks/backend/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ impl task::Task for Task {
.await?;
cmd_env.insert("RIVET_BACKEND_PORT".into(), backend_port.to_string());
cmd_env.insert("RIVET_BACKEND_HOSTNAME".into(), "0.0.0.0".to_string());
cmd_env.insert("RIVET_BACKEND_TERM_COLOR".into(), "never".into());
cmd_env.insert("RIVET_EDITOR_PORT".into(), editor_port.to_string());

// Build command
Expand Down

0 comments on commit c570646

Please sign in to comment.