Skip to content

Commit

Permalink
make sure to await bun shell commands
Browse files Browse the repository at this point in the history
  • Loading branch information
TiltedToast committed Mar 27, 2024
1 parent a311554 commit bc366f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion src/helpers/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export async function resize(options: ResizeOptions) {
assert(width > 0, "Width must be greater than 0");

if (animated) {
return $`
return await $`
${gifsicle} --resize-width ${width} ${fileLocation} -o ${saveLocation}
`.catch(console.error);
}
Expand Down

0 comments on commit bc366f1

Please sign in to comment.