We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aad5e26 commit 44bc6bfCopy full SHA for 44bc6bf
1 file changed
.github/workflows/image-minimizer.js
@@ -86,7 +86,7 @@ module.exports = async ({github, context}) => {
86
if (shouldModify) {
87
wasMatchModified = true;
88
console.log(`Modifying match '${match}'`);
89
- return `<img alt="${g1}" src="${g2}" height=${IMG_MAX_HEIGHT_PX} />`;
+ return `<img alt="${g1}" src="${g2}" width=${IMG_MAX_WIDTH_PX} />`;
90
}
91
92
console.log(`Match '${match}' is ok/will not be modified`);
0 commit comments