dillon1000/react
Commit
Browse files [prettier] detect changed files from relative dir
Previously, `yarn prettier` didn't write changed files since `glob` produced paths relative to cwd and `git diff --name-only` produced paths relative to git root directory. This changes `git diff --name-only` to `git diff --name-only --relative`
Changed paths2 files
First-parent comparisoncompiler/forget/scripts/prettier.js ModifiedM compiler/forget/scripts/shared/list-changed-files.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…