Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos and some wording #1110

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions examples/subprocess-running-files.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @title Suprocess Spawning: runing other files using subprocesses
* @title Subprocess Spawning: running other files using subprocesses
* @difficulty intermediate
* @tags cli
* @run --allow-net --allow-run --allow-read <url>
Expand All @@ -12,7 +12,7 @@
*/

import { parseArgs } from "jsr:@std/cli";
// Grab the file name using the standard libraries parseArgs funciton.
// Grab the file name using the parseArgs function from the standard library.
// If no file is provided, exit with an error.
import { expandGlob } from "jsr:@std/fs";

Expand All @@ -28,8 +28,7 @@ if (!flags.file) {
Deno.exit(1);
}

// Use the expandGlob function to find all files that match the provided
// file name.
// Use expandGlob to find all files matching the provided filename.
const FilesList = await Array.fromAsync(
expandGlob(`**/*${flags.file}*`, { root: "." }),
);
Expand Down
Loading