Skip to content

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

JavaScript

remove outdated comment

DetachHead935256985231
diff --git a/cli/src/index.js b/cli/src/index.js
index 6098949a..390dc43d 100644
--- a/cli/src/index.js
+++ b/cli/src/index.js
@@ -187,7 +187,6 @@ async function getInputFiles(paths) {
const validFiles = [];
for (const path of paths) {
- //allow paths ending in / of \ to get all files in that directory
const files = (await fsp.lstat(path)).isDirectory()
? (await fsp.readdir(path)).map(file => join(path, file))
: [path];