Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript

Fix formatting

Peter Fernandesb5f708a1e65c
diff --git a/cli/src/index.js b/cli/src/index.js
index ebcca099..d7c97eda 100644
--- a/cli/src/index.js
+++ b/cli/src/index.js
@@ -195,7 +195,9 @@ async function checkInputFilesValid(files) {
`Warning: Input file does not exist: ${resolvePath(file)}`,
);
continue;
- } else throw err;
+ } else {
+ throw err;
+ }
}
validFiles.push(file);