Skip to content

Commit

Permalink
Fix a typo in an error message (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 authored Jul 18, 2018
1 parent 3e5d475 commit f740e97
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.9.3

* Fix a typo in an error message.

## 1.9.2

### Node JS API
Expand Down
6 changes: 3 additions & 3 deletions lib/src/functions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ final List<BuiltInCallable> coreFunctions = new UnmodifiableListView([
var argumentList = arguments[1] as SassArgumentList;
if (argumentList.asList.isNotEmpty) {
throw new SassScriptException(
"Only only positional argument is allowed. All other arguments must "
"Only one positional argument is allowed. All other arguments must "
"be passed by name.");
}

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

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

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sass
version: 1.9.2
version: 1.9.3-dev
description: A Sass implementation in Dart.
author: Dart Team <[email protected]>
homepage: https://github.com/sass/dart-sass
Expand Down

0 comments on commit f740e97

Please sign in to comment.