Skip to content

Commit

Permalink
fix(format): use the selfPrettier instead of projectPrettier, since i…
Browse files Browse the repository at this point in the history
…t might not be installed
  • Loading branch information
NicolaiSchmid committed Sep 17, 2019
1 parent 3a366d4 commit 83d65a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/format.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = argv => {
paths.selfIgnore,
`./**/*.{js,json,graphql,md,html}`,
];
execa(paths.projectPrettier, prettierArgs, {
execa(paths.selfPrettier, prettierArgs, {
env: process.env,
cwd: paths.projectRoot,
stdio: 'inherit',
Expand Down

0 comments on commit 83d65a6

Please sign in to comment.