Skip to content

Commit

Permalink
Fix assignment to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
romeovs committed Mar 6, 2020
1 parent 75beb2d commit 45cc885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22921,7 +22921,7 @@ const perPage = 100;
async function changedFiles(github, repo, pr, count) {
const files = [];

for (const page = 0; page * perPage < count; page++) {
for (let page = 0; page * perPage < count; page++) {
const response = await github.pulls.listFiles({
...repo,
pull_number: pr,
Expand Down
2 changes: 1 addition & 1 deletion src/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const perPage = 100
export async function changedFiles(github, repo, pr, count) {
const files = []

for (const page = 0; page * perPage < count; page++) {
for (let page = 0; page * perPage < count; page++) {
const response = await github.pulls.listFiles({
...repo,
pull_number: pr,
Expand Down

0 comments on commit 45cc885

Please sign in to comment.