Skip to content

Commit

Permalink
Fix incorrect argument order.
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Jun 9, 2020
1 parent fc7b3aa commit d9a82c7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Saves lists of changed files in the `outputs` object and on the filesystem for u

### Workflow Config Example
```
- uses: lots0logs/[email protected].0
- uses: lots0logs/[email protected].3
with:
token: GITHUB_TOKEN
```
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ async function processCommitData(result) {
}

if (isRenamed(file)) {
processRenamedFile(file.filename, file.previous_filename);
processRenamedFile(file.previous_filename, file.filename);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ async function processCommitData(result) {
}

if (isRenamed(file)) {
processRenamedFile(file.filename, file.previous_filename);
processRenamedFile(file.previous_filename, file.filename);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gh-action-get-changed-files",
"version": "2.1.2",
"version": "2.1.3",
"private": true,
"main": "dist/index.js",
"scripts":{
Expand Down

0 comments on commit d9a82c7

Please sign in to comment.