Skip to content

Commit

Permalink
don't wrap newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
goaaats authored Mar 11, 2023
1 parent 2fe5ded commit fd5cf85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async function sendWebHook(content, name, version, reporter, exception, dhash, e
const aiCondensed = await condenseText(content, env.OPENAI_TOKEN);
if (!checkForbidden(aiCondensed))
{
condensed = aiCondensed.replace(/(\r\n|\n|\r)/gm, "");
condensed = aiCondensed; //.replace(/(\r\n|\n|\r)/gm, "");
}
}
catch(e)
Expand Down

0 comments on commit fd5cf85

Please sign in to comment.