We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e872add commit 0e6846cCopy full SHA for 0e6846c
1 file changed
main.js
@@ -108,6 +108,9 @@ function run() {
108
form = new FormData();
109
form.append("file", fs.createReadStream(file_path));
110
if (sourcemap_file_path) {
111
+ if (!fs.existsSync(sourcemap_file_path)) {
112
+ throw new Error("Could not access file:" + sourcemap_file_path);
113
+ }
114
try {
115
form.append("sourcemap", fs.createReadStream(sourcemap_file_path));
116
}
0 commit comments