Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
resize.js: 改个拼写错误
Browse files Browse the repository at this point in the history
  • Loading branch information
mark9804 committed Sep 9, 2022
1 parent 119d49e commit f73bce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/resize.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ import { hideBin } from "yargs/helpers";
}

if (heightTo < height) {
console.log(`heigth: ${height} -> ${heightTo}`);
console.log(`height: ${height} -> ${heightTo}`);
await image.extract({ left: 0, top: (height - heightTo) / 2, width, height: heightTo });
}
}
Expand Down

0 comments on commit f73bce8

Please sign in to comment.