Skip to content

Commit

Permalink
Code formatting [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Dec 6, 2024
1 parent b54b5ea commit 1c3d28d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/stream.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import console from "node:console"

# Finds all instances of an executable and returns them one at a time.
try
stream = which("foobar").stream
{stream} = which("foobar")
console.log 'The "foobar" command is available at these locations:'
console.log "- #{path}" for await path from stream

Expand Down
2 changes: 1 addition & 1 deletion example/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import console from "node:console";

// Finds all instances of an executable and returns them one at a time.
try {
const stream = which("foobar").stream;
const {stream} = which("foobar");
console.log('The "foobar" command is available at these locations:');
for await (const path of stream) console.log(`- ${path}`);
}
Expand Down

0 comments on commit 1c3d28d

Please sign in to comment.