Skip to content

Commit 012889d

Browse files
authored
Merge pull request mahirshah#24 from everget/master
Fix redundant quote in ParseError argument
2 parents 987e7d8 + 162156f commit 012889d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expandShorthandProperty.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ module.exports = function expandShorthandProperty(propertyName,
9898
try {
9999
parser = new nearley.Parser(nearley.Grammar.fromCompiled(grammar)).feed(formattedPropertyValue);
100100
} catch (parseError) {
101-
throw new ParseError(`'Error parsing shorthand property ${propertyName}: ${propertyValue}. ${parseError.message}`);
101+
throw new ParseError(`Error parsing shorthand property ${propertyName}: ${propertyValue}. ${parseError.message}`);
102102
}
103103

104104
// get the first parsing and use the formatter for the specific shorthand type for this property

0 commit comments

Comments
 (0)