Skip to content

Commit 340db76

Browse files
authored
Merge pull request #33 from yari-dog/fix-writefilesync-args
fixed flipped arguments for writeFileSync
2 parents a5bc294 + 0401eb1 commit 340db76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/config/utils.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function writeFile(string: string, path: string): Promise<Gio.File>
100100
```js
101101
const contents = Utils.readFile('/path/to/file')
102102
103-
Utils.writeFileSync('/path/to/file', 'some content')
103+
Utils.writeFileSync('some content', '/path/to/file')
104104
```
105105

106106
### Asynchronously

0 commit comments

Comments
 (0)