Skip to content

Commit 21454bb

Browse files
Japneet Singh ChawlaJapneet Singh Chawla
authored andcommitted
validation added for download dir
1 parent 3033035 commit 21454bb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

commands/utils/validate.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,11 @@ module.exports = validate_config = function (lt_config) {
137137
}
138138
}
139139

140-
if ("downloads" in lt_config["run_settings"]) {
140+
if (
141+
"downloads" in lt_config["run_settings"] &&
142+
lt_config["run_settings"]["downloads"] != ""
143+
) {
144+
console.log(lt_config["run_settings"]);
141145
let download_folders = lt_config["run_settings"]["downloads"].split(",");
142146
for (folder in download_folders) {
143147
if (folder[0] != ".") {

0 commit comments

Comments
 (0)