Skip to content

Commit

Permalink
Flag has a higher priority than the configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Nov 16, 2019
1 parent d517cc4 commit 4331d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/prettier/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ async function main(opts): Promise<void> {
: await resolveConfig(configFilepath);

if (config) {
prettierOpts = { ...prettierOpts, ...config };
prettierOpts = { ...config, ...prettierOpts };
}
}

Expand Down

0 comments on commit 4331d0c

Please sign in to comment.