Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54545

Promisify the plugin deletion

XMLWordPrintable

    • 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:

      Main pointers about NodeJS's util.promisify:

            jennyfive Jen Lijó
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: