Skip to content

Commit

Permalink
fix: refined list of files added by pre-commit script (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephrignanese committed Sep 18, 2024
1 parent 3e78113 commit b59c401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ const modifledPartials = modifiedFiles.filter((file) => file.match(/(^|\/)_.*.js
if (modifledPartials.length > 0) {
const output = await run('npm run build:json --silent');
console.log(output);
await run('git add .');
await run('git add component-models.json component-definition.json component-filters.json');
}

0 comments on commit b59c401

Please sign in to comment.