fix: wrong filetype position
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
f56cdebf19
commit
f4371c9aed
1 changed files with 1 additions and 1 deletions
|
|
@ -233,8 +233,8 @@ function start(opts) {
|
|||
let fileType;
|
||||
let inputFile;
|
||||
for (const id of Object.keys(data)) {
|
||||
fileType = Object.keys(data[id])[0];
|
||||
if (id === dataId) {
|
||||
fileType = Object.keys(data[id])[0];
|
||||
if (isValidHttpUrl(inputFile)) {
|
||||
inputFile = data[id][fileType];
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue