Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Commit f8af84a

Browse files
committed
style: update prettier
1 parent 0255e46 commit f8af84a

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

lib/writer.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,15 @@ module.exports = class Writer extends EventEmitter {
4949
for (const file of this.files) {
5050
assert(
5151
typeof file === 'string',
52-
`Expected 'file' (${
53-
file
54-
}) to be of type 'string', instead got '${typeof file}'`
52+
`Expected 'file' (${file}) to be of type 'string', instead got '${typeof file}'`
5553
);
5654
assert(
5755
isAbsolute(file),
58-
`Expected 'file' (${
59-
file
60-
}) to be an absolute path to a file but it was not`
56+
`Expected 'file' (${file}) to be an absolute path to a file but it was not`
6157
);
6258
assert(
6359
existsSync(file),
64-
`Expected 'file' (${
65-
file
66-
}) to exist on file system but it did not`
60+
`Expected 'file' (${file}) to exist on file system but it did not`
6761
);
6862
}
6963
}

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"husky": "^0.14.3",
4141
"jest": "^22.0.4",
4242
"lint-staged": "^6.0.0",
43-
"prettier": "^1.8.2",
43+
"prettier": "^1.9.2",
4444
"projectz": "^1.4.0",
4545
"semantic-release": "^8.2.3"
4646
},

0 commit comments

Comments
 (0)