Skip to content

Commit 53ead39

Browse files
theztefanwolfy1339
andauthored
fix: error on (initial) file creation (#113)
Co-authored-by: wolfy1339 <[email protected]>
1 parent 156dd52 commit 53ead39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/write-pretty-file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default async function writePrettyFile(path, content) {
2525

2626
await writeFile(
2727
path,
28-
pretier.format(content, {
28+
await pretier.format(content, {
2929
parser,
3030
}),
3131
);

templates/github-actions/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
cache: npm
2323
- run: npm ci
2424
- run: npm test
25-
25+
2626
# The "test" step can be required in branch protection and does not
2727
# change each time the test matrix changes.
2828
test:

0 commit comments

Comments
 (0)