Skip to content

Commit fa76c09

Browse files
committed
Fix exit code of 1
1 parent 9177b26 commit fa76c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"chromatic": "(if-env CIRCLE_BRANCH=master && yarn chromatic:master) || yarn chromatic:branch",
2525
"chromatic:base": "CHROMATIC_APP_CODE=nffds42ndde ./node_modules/.bin/chromatic --build-script-name=build:storybook --exit-zero-on-changes",
2626
"chromatic:master": "yarn chromatic:base --auto-accept-changes",
27-
"chromatic:branch": "!(git diff master...HEAD --quiet ./src) && yarn chromatic:base",
27+
"chromatic:branch": "(!(git diff master...HEAD --quiet ./src) && yarn chromatic:base) || echo 'Not running Chromatic...'",
2828
"prepublish": "yarn build"
2929
},
3030
"dependencies": {

0 commit comments

Comments
 (0)