mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-23 22:48:02 +03:00
yarn-lock: allow empty quoted strings
This commit is contained in:
parent
03f418ac80
commit
2132262d5c
@ -24,7 +24,7 @@ rec {
|
||||
unquotedString = takeWhile1 charOutsideQuotes;
|
||||
newLine = string "\n";
|
||||
|
||||
quotedString = between (string "\"") (string "\"") (takeWhile1 charInsideQuotes);
|
||||
quotedString = between (string "\"") (string "\"") (takeWhile charInsideQuotes);
|
||||
|
||||
version = skipThen (string " version ") (thenSkip quotedString newLine);
|
||||
resolved = skipThen (string " resolved ") (thenSkip quotedString newLine);
|
||||
|
Loading…
Reference in New Issue
Block a user