Skip to content

Commit 0e6846c

Browse files
author
Alexis Pierru
committed
Recompile
1 parent e872add commit 0e6846c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ function run() {
108108
form = new FormData();
109109
form.append("file", fs.createReadStream(file_path));
110110
if (sourcemap_file_path) {
111+
if (!fs.existsSync(sourcemap_file_path)) {
112+
throw new Error("Could not access file:" + sourcemap_file_path);
113+
}
111114
try {
112115
form.append("sourcemap", fs.createReadStream(sourcemap_file_path));
113116
}

0 commit comments

Comments
 (0)