Skip to content

Commit f740e97

Browse files
authored
Fix a typo in an error message (#411)
1 parent 3e5d475 commit f740e97

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.9.3
2+
3+
* Fix a typo in an error message.
4+
15
## 1.9.2
26

37
### Node JS API

lib/src/functions.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ final List<BuiltInCallable> coreFunctions = new UnmodifiableListView([
377377
var argumentList = arguments[1] as SassArgumentList;
378378
if (argumentList.asList.isNotEmpty) {
379379
throw new SassScriptException(
380-
"Only only positional argument is allowed. All other arguments must "
380+
"Only one positional argument is allowed. All other arguments must "
381381
"be passed by name.");
382382
}
383383

@@ -430,7 +430,7 @@ final List<BuiltInCallable> coreFunctions = new UnmodifiableListView([
430430
var argumentList = arguments[1] as SassArgumentList;
431431
if (argumentList.asList.isNotEmpty) {
432432
throw new SassScriptException(
433-
"Only only positional argument is allowed. All other arguments must "
433+
"Only one positional argument is allowed. All other arguments must "
434434
"be passed by name.");
435435
}
436436

@@ -491,7 +491,7 @@ final List<BuiltInCallable> coreFunctions = new UnmodifiableListView([
491491
var argumentList = arguments[1] as SassArgumentList;
492492
if (argumentList.asList.isNotEmpty) {
493493
throw new SassScriptException(
494-
"Only only positional argument is allowed. All other arguments must "
494+
"Only one positional argument is allowed. All other arguments must "
495495
"be passed by name.");
496496
}
497497

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sass
2-
version: 1.9.2
2+
version: 1.9.3-dev
33
description: A Sass implementation in Dart.
44
author: Dart Team <[email protected]>
55
homepage: https://github.com/sass/dart-sass

0 commit comments

Comments
 (0)