Fix file not opening for section downloads

pull/271/head
aandrew-me 1 year ago
parent e778abf297
commit c7dddc94de

@ -1060,7 +1060,8 @@ function download(
if (range2 || rangeCmd) {
let rangeTxt = (range2 || rangeCmd).replace("*", "");
if (os.platform() === "win32") {
rangeTxt = rangeTxt.replace(":", "_");
rangeTxt = rangeTxt.replaceAll(":", "_");
console.log({rangeTxt})
}
filename += `[${rangeTxt}]`
}

@ -2,5 +2,8 @@
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"lib": [
"ES2021.String"
]
}
}
Loading…
Cancel
Save