Skip to content

Commit

Permalink
Merge pull request #33 from yari-dog/fix-writefilesync-args
Browse files Browse the repository at this point in the history
fixed flipped arguments for writeFileSync
  • Loading branch information
Aylur authored Jun 20, 2024
2 parents a5bc294 + 0401eb1 commit 340db76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/config/utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function writeFile(string: string, path: string): Promise<Gio.File>
```js
const contents = Utils.readFile('/path/to/file')
Utils.writeFileSync('/path/to/file', 'some content')
Utils.writeFileSync('some content', '/path/to/file')
```

### Asynchronously
Expand Down

0 comments on commit 340db76

Please sign in to comment.