| Index: pkg/barback/lib/src/phase_output.dart
|
| diff --git a/pkg/barback/lib/src/phase_output.dart b/pkg/barback/lib/src/phase_output.dart
|
| index 31dcdd24c5e5d0f5f1f2c81c18e6b8562d95a442..d9ba604212c12486deda777f109bae6460df4512 100644
|
| --- a/pkg/barback/lib/src/phase_output.dart
|
| +++ b/pkg/barback/lib/src/phase_output.dart
|
| @@ -82,7 +82,7 @@ class PhaseOutput {
|
|
|
| /// Watches [node] to adjust [_assets] and [output] when it's removed.
|
| void _watchAsset(AssetNode node) {
|
| - node.whenRemoved.then((_) {
|
| + node.whenRemoved(() {
|
| if (_assets.length == 1) {
|
| assert(_assets.single == node);
|
| _outputForwarder.close();
|
|
|