From 2f778bade5312e2d9957163f4c5c2616eb951f36 Mon Sep 17 00:00:00 2001 From: Kinflou Date: Fri, 13 Nov 2026 06:58:12 +0800 Subject: [PATCH] Use the CLI's new command names (cli#153) --- app/src/wasi-generator.ts | 2 +- wasm/src/lib.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/wasi-generator.ts b/app/src/wasi-generator.ts index 8662e53..6d960f1 100644 --- a/app/src/wasi-generator.ts +++ b/app/src/wasi-generator.ts @@ -1,6 +1,6 @@ /// External generators in the browser: a generator built for `wasm32-wasip1` /// (the generator protocol's WASI packaging, core#8), run through a WASI shim -/// the way `comline generate` runs one under wasmtime (cli `src/external.rs`). +/// the way `comline generation` runs one under wasmtime (cli `src/external.rs`). /// /// A generator is untrusted code, so each call runs as the CLI runs it: /// diff --git a/wasm/src/lib.rs b/wasm/src/lib.rs index f185fd1..b810795 100644 --- a/wasm/src/lib.rs +++ b/wasm/src/lib.rs @@ -484,7 +484,7 @@ fn check_path(path: &str) -> Result<(), &'static str> { } /// The request for `target` and `mode` over the whole file set, with its -/// encodings filled the way `comline generate` fills them: the official +/// encodings filled the way `comline generation` fills them: the official /// mappings, then what the playground's package declares (nothing: its /// packages are in memory, and core refuses `encodings` there), with no /// `comline.toml` overrides. @@ -547,7 +547,7 @@ fn request_for(files: &[FileInput], target: &str, mode: &str) -> Result JsValue { } }; let frozen = interpret_project(&files).schemas; - // The request `comline generate` would build, for the facts and the + // The request `comline generation` would build, for the facts and the // connection; `None` while nothing parses. let request = request_for(&files, "rust", "code").ok();