| Index: pkg/barback/lib/src/phase_input.dart
|
| diff --git a/pkg/barback/lib/src/phase_input.dart b/pkg/barback/lib/src/phase_input.dart
|
| index 552fa5daf9f5a7b1e536eaca2561db24d56cf1f9..1b96ee0de49cb56637b01a034c206993c36494a2 100644
|
| --- a/pkg/barback/lib/src/phase_input.dart
|
| +++ b/pkg/barback/lib/src/phase_input.dart
|
| @@ -273,9 +273,15 @@ class PhaseInput {
|
| }
|
|
|
| /// Processes the transforms for this input.
|
| + ///
|
| + /// Returns the set of newly-created asset nodes that transforms have emitted
|
| + /// for this input. The assets returned this way are guaranteed not to be
|
| + /// [AssetState.REMOVED].
|
| Future<Set<AssetNode>> process() {
|
| - if (_adjustTransformersFuture == null) return _processTransforms();
|
| - return _waitForTransformers(() => _processTransforms());
|
| + return _waitForTransformers(() => _processTransforms()).then((outputs) {
|
| + if (input.state.isRemoved) return new Set();
|
| + return outputs;
|
| + });
|
| }
|
|
|
| /// Runs [callback] once all the transformers are adjusted correctly and the
|
|
|