Fix file not opening for section downloads
This commit is contained in:
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…
x
Reference in New Issue
Block a user