Skip to content

Commit

Permalink
Replaced regex replace with a more appropriate one
Browse files Browse the repository at this point in the history
  • Loading branch information
s-weigand committed Apr 5, 2021
1 parent f510187 commit 536313b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -65,7 +65,7 @@ async function main() {
This only has performance implications and won't change the result of your pre-commit tests.
If this problem persists on your default branch, you can try to fix it by editing your '.pre-commit-config.yaml'.
I.e. run 'pre-commit autoupdate' or simply add a blank line.
This will result in a different hash value and thus a different cache target.`.replace(/ +/g, '')
This will result in a different hash value and thus a different cache target.`.replace(/^ +/gm, '')
);
}
}
Expand Down

0 comments on commit 536313b

Please sign in to comment.