| Index: sdk/lib/_internal/pub/lib/src/command_deploy.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/command_deploy.dart b/sdk/lib/_internal/pub/lib/src/command_deploy.dart
|
| index 94decb64df63846d96829362226a77ce8264b861..edd281880dcdee64e2f3fbe56425ff9bf7c51c9d 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/command_deploy.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/command_deploy.dart
|
| @@ -136,6 +136,6 @@ class DeployCommand extends PubCommand {
|
| bool get _shouldAddDartJs {
|
| return !_entrypoints.isEmpty &&
|
| entrypoint.root.dependencies.any((dep) =>
|
| - dep.name == 'browser' && dep.source.name == 'hosted');
|
| + dep.name == 'browser' && dep.source == 'hosted');
|
| }
|
| }
|
|
|