Skip to content

Commit

Permalink
fix(fs/unstable): added no-eval for chmod code snippets from throwing…
Browse files Browse the repository at this point in the history
… on windows
  • Loading branch information
jbronder committed Jan 11, 2025
1 parent ed53828 commit 3bd2293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/unstable_chmod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { mapError } from "./_map_error.ts";
* NOTE: This API currently throws on Windows.
*
* @example Usage
* ```ts
* ```ts no-eval
* import { chmod } from "@std/fs/unstable-chmod";
*
* await chmod("README.md", 0o444);
Expand Down Expand Up @@ -64,7 +64,7 @@ export async function chmod(path: string | URL, mode: number) {
* NOTE: This API currently throws on Windows.
*
* @example Usage
* ```ts
* ```ts no-eval
* import { chmodSync } from "@std/fs/unstable-chmod";
*
* chmodSync("README.md", 0o666);
Expand Down

0 comments on commit 3bd2293

Please sign in to comment.