Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Explicitly pass repository to feature flags constructor
As suggested in review: The `GITHUB_REPOSITORY` environment variable is
only available on Actions. Passing it in explicitly avoids potentially
crashing if this code is called from the runner.
Henry Mercer committed Dec 15, 2021

Unverified

No user is associated with the committer email.
1 parent 621e079 commit 5e87034
Showing 9 changed files with 31 additions and 33 deletions.
4 changes: 2 additions & 2 deletions lib/analyze-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/analyze-action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions lib/feature-flags.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5e87034

Please sign in to comment.