Skip to content

Commit

Permalink
Revert "Convert sets to arrays prior to using spread operator to enab…
Browse files Browse the repository at this point in the history
…le transpilation to ES5 (#3297)"

This reverts commit a545c66.
  • Loading branch information
aduh95 authored Nov 24, 2021
1 parent cd8af60 commit 00067a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/@uppy/core/src/Uppy.js
Original file line number Diff line number Diff line change
Expand Up @@ -1559,9 +1559,9 @@ class Uppy {
const restoreStep = currentUpload.step || 0

const steps = [
...Array.from(this.#preProcessors),
...Array.from(this.#uploaders),
...Array.from(this.#postProcessors),
...this.#preProcessors,
...this.#uploaders,
...this.#postProcessors,
]
try {
for (let step = restoreStep; step < steps.length; step++) {
Expand Down

0 comments on commit 00067a5

Please sign in to comment.