Skip to content

Commit fe8b1ee

Browse files
committed
remove comments
1 parent 04a90e8 commit fe8b1ee

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

bin/cli.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,14 @@ async function main() {
2727
}
2828

2929
if (parsingFlags && arg === "-e" && i + 1 < args.length) {
30-
// Parse environment variables passed with -e flag
31-
// Format: -e KEY=VALUE
32-
// Example: -e MY_VAR=my_value
33-
// Handles env vars where VALUE can contain "=" signs (e.g., var1=sample=value)
3430
const envVar = args[++i];
3531
const equalsIndex = envVar.indexOf("=");
3632

3733
if (equalsIndex !== -1) {
38-
// Split only at the first equals sign
3934
const key = envVar.substring(0, equalsIndex);
4035
const value = envVar.substring(equalsIndex + 1);
4136
envVars[key] = value;
4237
} else {
43-
// No equals sign found, use the whole string as key with empty value
4438
envVars[envVar] = "";
4539
}
4640
} else if (!command) {

0 commit comments

Comments
 (0)