Skip to content

Commit

Permalink
Explicitly pass repository to feature flags constructor
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Henry Mercer committed Dec 15, 2021
1 parent 621e079 commit 5e87034
Show file tree
Hide file tree
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.

Loading

0 comments on commit 5e87034

Please sign in to comment.