diff --git a/bin/sass.dart b/bin/sass.dart index 06c6b17d6..4c5548b9c 100644 --- a/bin/sass.dart +++ b/bin/sass.dart @@ -4,6 +4,7 @@ import 'dart:isolate'; +import 'package:collection/collection.dart'; import 'package:path/path.dart' as p; import 'package:stack_trace/stack_trace.dart'; import 'package:term_glyph/term_glyph.dart' as term_glyph; @@ -41,7 +42,7 @@ Future main(List args) async { } } - if (args[0] == '--embedded') { + if (args.firstOrNull == '--embedded') { embedded.main(args.sublist(1)); return; }