Skip to content

Commit

Permalink
chore: misc
Browse files Browse the repository at this point in the history
  • Loading branch information
hongaar committed May 9, 2023
1 parent 9ca695f commit 84dfc1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-node-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
updaters.files.template: |
node-version: [${versions}]
"node": ">=${minVersion}"
| `$!{versions}`$1| `[${versions}]+`$2|
| `$!{versions}`$1| `${versions}`$2|
| `$!{minVersion}`$1| `${minVersion}`$2|
| `$!{maxVersion}`$1| `${maxVersion}`$2|
- uses: peter-evans/create-pull-request@v4
Expand Down
4 changes: 2 additions & 2 deletions src/updaters/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ async function replace(
.replaceAll("${maxVersion}", Math.max(...versions).toString())

// Undocumented
.replaceAll("$!{maxVersion}", "${versions}")
.replaceAll("$!{maxVersion}", "${minVersion}")
.replaceAll("$!{versions}", "${versions}")
.replaceAll("$!{minVersion}", "${minVersion}")
.replaceAll("$!{maxVersion}", "${maxVersion}");

info(
Expand Down

0 comments on commit 84dfc1d

Please sign in to comment.