Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1feb1f7

Browse filesBrowse files
committed
Fix test format
1 parent cf2da6a commit 1feb1f7
Copy full SHA for 1feb1f7

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎packages/flutter_tools/lib/src/isolated/native_assets/native_assets.dart

Copy file name to clipboardExpand all lines: packages/flutter_tools/lib/src/isolated/native_assets/native_assets.dart
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,10 @@ Future<DartHookResult> _runDartHooks({
635635
// For web builds we use `null` as the single architecture.
636636
final bool isWeb = architectures == null;
637637

638-
final String targetString = isWeb ? 'web' : '$targetOS $architectures';
638+
final String targetString =
639+
isWeb
640+
? 'web'
641+
: '$targetOS ${architectures.length == 1 ? architectures.single : architectures}';
639642

640643
globals.logger.printTrace('Building native assets for $targetString.');
641644
final List<EncodedAsset> assets = <EncodedAsset>[];

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.