Skip to content

Commit c9d4b16

Browse files
authored
Update worker.rs
1 parent 19dc2fb commit c9d4b16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/bot/src/worker.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ struct Process {
120120

121121
impl Process {
122122
async fn spawn() -> anyhow::Result<Self> {
123+
// Make sure to keep in sync with the README.
123124
const VAR_NAME: &str = "TYPST_BOT_WORKER_PATH";
124125
let worker_path = std::env::var_os(VAR_NAME).unwrap_or_else(|| "./worker".into());
125126
#[allow(clippy::unnecessary_debug_formatting)]

0 commit comments

Comments
 (0)