Skip to content

Commit cfbce68

Browse files
authored
docs: Fix createNew documentation (#3254)
1 parent e9a3d79 commit cfbce68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/plugin/file-system.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Always call `file.close()` when you are done manipulating the file.
348348

349349
- createNew
350350

351-
`createNew` works similarly to `create`, but if the file does not exist, the operation fails.
351+
`createNew` works similarly to `create`, but will fail if the file already exists.
352352

353353
```js
354354
import { open, BaseDirectory } from '@tauri-apps/plugin-fs';

0 commit comments

Comments
 (0)