Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
amenocal committed Mar 29, 2024
1 parent 9a82187 commit 3d789d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gh-repo-stats
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ CheckAdminRights() {
##################
# Get membership #
##################
MEMBERSHIP_DATA=$(gh api orgs/${ORG_NAME}/memberships/${USER_LOGIN})
MEMBERSHIP_DATA=$(gh api "orgs/${ORG_NAME}"/memberships/"${USER_LOGIN})

Check notice

Code scanning / shellcheck

SC1009 Note

The mentioned syntax error was in this variable assignment.

Check failure

Code scanning / shellcheck

SC1073 Error

Couldn't parse this command expansion. Fix to allow more checks.

Check warning

Code scanning / shellcheck

SC1078 Warning

Did you forget to close this double quoted string?
ERROR_CODE=$?
if [ "${ERROR_CODE}" -ne 0 ]; then
Expand Down

0 comments on commit 3d789d5

Please sign in to comment.