We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19dc2fb commit c9d4b16Copy full SHA for c9d4b16
crates/bot/src/worker.rs
@@ -120,6 +120,7 @@ struct Process {
120
121
impl Process {
122
async fn spawn() -> anyhow::Result<Self> {
123
+ // Make sure to keep in sync with the README.
124
const VAR_NAME: &str = "TYPST_BOT_WORKER_PATH";
125
let worker_path = std::env::var_os(VAR_NAME).unwrap_or_else(|| "./worker".into());
126
#[allow(clippy::unnecessary_debug_formatting)]
0 commit comments