Skip to content

Commit 4ec615c

Browse files
committed
Update version
1 parent e39aca7 commit 4ec615c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The replaced string.
2929
## Example usage
3030

3131
```yaml
32-
uses: frabert/replace-string-action@v1.1
32+
uses: frabert/replace-string-action@v1.2
3333
with:
3434
pattern: 'Hello, (\w+)!'
3535
string: 'Hello, world!'

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ const core = require('@actions/core');
33
try {
44
const pattern = core.getInput('pattern');
55
const string = core.getInput('string');
6-
const replaceWith = core.getInput('replace-with')
7-
const flags = core.getInput('flags')
6+
const replaceWith = core.getInput('replace-with');
7+
const flags = core.getInput('flags');
88

99
const regex = new RegExp(pattern, flags);
1010

0 commit comments

Comments
 (0)