Skip to content

Commit 14f0d6e

Browse files
committed
Fix an analysis error.
1 parent 7d92f2c commit 14f0d6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tool/grind.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import 'dart:convert';
77
import 'dart:io';
88

99
import 'package:archive/archive.dart';
10+
import 'package:collection/collection.dart';
1011
import 'package:grinder/grinder.dart';
1112
import 'package:http/http.dart' as http;
1213
import 'package:node_preamble/preamble.dart' as preamble;
@@ -229,7 +230,7 @@ Future _buildPackage(http.Client client, String os, String architecture) async {
229230
.firstWhere((file) => os == 'windows'
230231
? file.name.endsWith("/bin/dart.exe")
231232
: file.name.endsWith("/bin/dart"));
232-
var executable = dartExecutable.content;
233+
var executable = DelegatingList.typed<int>(dartExecutable.content as List);
233234
var archive = new Archive()
234235
..addFile(_fileFromBytes(
235236
"dart-sass/src/dart${os == 'windows' ? '.exe' : ''}", executable,

0 commit comments

Comments
 (0)