Skip to content

Commit

Permalink
Fix lints (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
jathak committed May 21, 2020
1 parent 41c2dc3 commit d155f35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/node/value/boolean.dart
Expand Up @@ -16,7 +16,7 @@ import '../utils.dart';
/// to have a constructor injected into their inheritance chain so that
/// `instanceof` works properly.
final Function booleanConstructor = () {
var constructor = allowInterop(([_]) {
var constructor = allowInterop(([dynamic _]) {
throw "new sass.types.Boolean() isn't allowed.\n"
"Use sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.";
});
Expand Down
2 changes: 1 addition & 1 deletion lib/src/node/value/null.dart
Expand Up @@ -16,7 +16,7 @@ import '../utils.dart';
/// to have a constructor injected into their inheritance chain so that
/// `instanceof` works properly.
final Function nullConstructor = () {
var constructor = allowInterop(([_]) {
var constructor = allowInterop(([dynamic _]) {
throw "new sass.types.Null() isn't allowed. Use sass.types.Null.NULL "
"instead.";
});
Expand Down

0 comments on commit d155f35

Please sign in to comment.