-
Improvement
-
Resolution: Fixed
-
Minor
-
-
Evergreen - Milestone 2
In the storage.ts class, our code to remove plugins (exploded directories and files) is using old-school unlink and remove with callbacks and the likes.
We should "promisify" it to make it more readable and consistent with the rest of the codebase using Promises.
See:
- the class to modify https://github.com/jenkins-infra/evergreen/blob/master/distribution/client/src/lib/storage.ts
Main pointers about NodeJS's util.promisify:
- blocks
-
JENKINS-54207 Update delete plugin flow to error out for anything other than file not found
- Closed
- links to