Skip to content

Commit

Permalink
Fix replace
Browse files Browse the repository at this point in the history
  • Loading branch information
kewers committed Mar 6, 2021
1 parent 0525f2a commit 8a402ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async function run() {
* @returns {string}
*/
const replacePlaceholder = (text, placeholder) =>
text.replace(/(<!-- Replace -->)(.*)(<!-- Replace -->)/, placeholder);
text.replace(/(<!-- Replace -->)(.*)(<!-- Replace -->)/s, placeholder);

if (descriptionMessage) {
const descriptionWithPlaceholder = placeholderWrap(descriptionMessage)
Expand Down

0 comments on commit 8a402ab

Please sign in to comment.