Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yanCode committed May 4, 2023
1 parent 637660d commit 6e20031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fetch-prompts.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function fetchEN() {
return raw
.split("\n")
.slice(1)
.map((v) => v.split('","').map((v) => v.replace('"', "")));
.map((v) => v.split('","').map((v) => v.replace(/^"|"$/g, '').replaceAll('""','"')));
} catch (error) {
console.error("[Fetch] failed to fetch en prompts", error);
return [];
Expand Down

0 comments on commit 6e20031

Please sign in to comment.