Reject with errors in reorder-admin-translation-files.js

This commit is contained in:
Hung Viet Nguyen 2022-03-11 01:12:33 +07:00
parent 39c02e9723
commit 487388fb11
No known key found for this signature in database
GPG Key ID: CAFDC50535B4A074

View File

@ -26,7 +26,7 @@ const cleanFile = async filePath => {
return Promise.resolve();
} catch (err) {
return Promise.reject();
return Promise.reject(err);
}
};