Skip to content

Commit

Permalink
fix: remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Feb 8, 2022
1 parent 2cc6444 commit 03bc957
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,18 @@

# Changelog

## v2.0.1

`2022.02.08`

- 🐞 fix: remove console.log.

## v2.0.0

`2022.02.07`

- 🛠 refactor: change `result` to `require-result`.
- 🚀 feat: add `check-result` for `check-contributor`.
- 🛠 refactor: change `result` to `require-result`. [#5](https://github.com/actions-cool/check-user-permission/pull/5)
- 🚀 feat: add `check-result` for `check-contributor`. [#5](https://github.com/actions-cool/check-user-permission/pull/5)

## v1.2.2

Expand Down
1 change: 0 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7584,7 +7584,6 @@ async function run() {
} else if (checkContributor == 'true') {
let contributors = await queryContributors();
contributors = contributors.map(({ login }) => login);
console.log(JSON.stringify(contributors));
if (contributors.length) {
checkResult = contributors.includes(username);
}
Expand Down
1 change: 0 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ async function run() {
} else if (checkContributor == 'true') {
let contributors = await queryContributors();
contributors = contributors.map(({ login }) => login);
console.log(JSON.stringify(contributors));
if (contributors.length) {
checkResult = contributors.includes(username);
}
Expand Down

0 comments on commit 03bc957

Please sign in to comment.