Skip to content

Commit

Permalink
Removed 'ignore prefer-promise-reject-errors' for ESLint configuration (
Browse files Browse the repository at this point in the history
#279)

Co-authored-by: Ryan Birmingham <birm@rbirm.us>
  • Loading branch information
cjchirag7 and birm authored Mar 30, 2020
1 parent a07b6a4 commit 75561af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ module.exports = {
"camelcase" : 0,
"no-unused-vars" : 0,
"no-var" : 0,
"prefer-promise-reject-errors" :0,
"new-cap" : 0,
},
};
2 changes: 1 addition & 1 deletion apps/loader/chunked_upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function promiseChunkFileReader(file, part) {
if (d) {
resolve(d);
} else {
reject('Done Reading');
reject(new Error('Done Reading') );
}
} else {
reject(evt.target.error);
Expand Down

0 comments on commit 75561af

Please sign in to comment.