Skip to content

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens authored Dec 10, 2019
1 parent 4441976 commit d6bc4b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function expandLiteralStrings(data: string) {
const firstDoubleQuoteIdx = string.indexOf('"');
const colonAndAnySpacing = string.slice(0, firstDoubleQuoteIdx);
const rawStringifiedValue = string.slice(firstDoubleQuoteIdx, string.length);
// Remove one level of JSON stringificaiton
// Remove one level of JSON stringification
const jsonValue = JSON.parse(rawStringifiedValue);
return `${colonAndAnySpacing}"""${jsonValue}"""`;
} else {
Expand Down

0 comments on commit d6bc4b7

Please sign in to comment.