Guest User

Untitled

a guest
Feb 18th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. /**
  2. * Find, upload and delete Source Maps
  3. */
  4. function processSourceMaps() {
  5. findSourceMaps((error, files) =>
  6. Promise.all(files.map(uploadSourceMap))
  7. .then(() => {
  8. deleteFiles(files);
  9. notifyRelease(); // Bonus Step
  10. })
  11. .catch(e => {
  12. console.log(e);
  13. })
  14. );
  15. }
  16.  
  17. processSourceMaps();
Add Comment
Please, Sign In to add comment