Skip to content

Commit a586e48

Browse files
committed
Do not commit in script
1 parent ab36743 commit a586e48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"storybook": "yarn build && yarn only-include-used-icons && start-storybook -p 6006",
3535
"build-storybook": "yarn build && yarn only-include-used-icons && build-storybook",
3636
"only-include-used-icons": "node dist/bin/only-include-used-icons.js",
37-
"list-exports": "ts-node src/scripts/list-exports.ts && prettier --write package.json && git add package.json"
37+
"list-exports": "ts-node src/scripts/list-exports.ts && prettier --write package.json"
3838
},
3939
"bin": {
4040
"copy-dsfr-to-public": "dist/bin/copy-dsfr-to-public.js",
@@ -50,7 +50,7 @@
5050
},
5151
"husky": {
5252
"hooks": {
53-
"pre-commit": "yarn list-exports && lint-staged -v"
53+
"pre-commit": "yarn list-exports && git add package.json && lint-staged -v"
5454
}
5555
},
5656
"author": "u/garronej",

0 commit comments

Comments
 (0)