From f740e97e05de607dd4ae91ee128b0691ffdf9d2a Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Wed, 18 Jul 2018 12:11:24 -0700 Subject: [PATCH] Fix a typo in an error message (#411) --- CHANGELOG.md | 4 ++++ lib/src/functions.dart | 6 +++--- pubspec.yaml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fcab0ff1..e6f20cad2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.9.3 + +* Fix a typo in an error message. + ## 1.9.2 ### Node JS API diff --git a/lib/src/functions.dart b/lib/src/functions.dart index c33340985..60e0543ad 100644 --- a/lib/src/functions.dart +++ b/lib/src/functions.dart @@ -377,7 +377,7 @@ final List 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."); } @@ -430,7 +430,7 @@ final List 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."); } @@ -491,7 +491,7 @@ final List 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."); } diff --git a/pubspec.yaml b/pubspec.yaml index 27a72abeb..1681b9379 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: sass -version: 1.9.2 +version: 1.9.3-dev description: A Sass implementation in Dart. author: Dart Team homepage: https://github.com/sass/dart-sass