Skip to content

Commit

Permalink
Fix a cast in grind.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Apr 14, 2021
1 parent 71476bd commit 8ba7909
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tool/grind.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ void main(List<String> args) {
pkg.homebrewFormula.value = "sass.rb";
pkg.jsRequires.value = {"chokidar": "chokidar", "readline": "readline"};
pkg.jsModuleMainLibrary.value = "lib/src/node.dart";
pkg.npmPackageJson.fn = () =>
json.decode(File("package/package.json").readAsStringSync())
as Map<String, Object>;
pkg.npmPackageJson.fn = () => json
.decode(File("package/package.json").readAsStringSync())
.cast<String, Object>();
pkg.npmReadme.fn = () => _readAndResolveMarkdown("package/README.npm.md");
pkg.standaloneName.value = "dart-sass";
pkg.githubUser.fn = () => Platform.environment["GH_USER"]!;
Expand Down

0 comments on commit 8ba7909

Please sign in to comment.