Skip to content

Commit

Permalink
test: deploy generates multiple commits fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rjsduf0503 committed May 9, 2023
1 parent 9eb9f1b commit 1942deb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
sed -i "s|CHROMATIC_HOMEPAGE|${{ steps.chromatic.outputs.storybookUrl }}|" package.json
- run: yarn tsc-build:outDir
# - run: yarn publish:npm-outDir
- run: |
sed -i "s|${{ steps.chromatic.outputs.storybookUrl }}|CHROMATIC_HOMEPAGE|" package.json
- run: cp -R build/* dist/
# - uses: LasyIsLazy/github-upload-action@v0.1.0
# with:
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/imageProcessing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export async function imageProcessing({
src,
}: ImageProcessingProps): Promise<ImageProcessingResult> {
if (maxWidth <= 0) {
throw new Error('maxWidth parameter must be greater than zero');
throw new Error('maxWidth must be greater than zero');
}

const image = await createImageBitmap(await fetch(src).then((res) => res.blob()));
Expand Down

0 comments on commit 1942deb

Please sign in to comment.