-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(github-actions): add logging and set undefined for
repoSha
and …
…`repoFileContent` Adds logging to aide in diagnosing issues. Additionally, when declaring the `repoSha` and `repoFileContent` values, set the default value explicitly as `undefined`. When not initialized as `undefined`, the only set of the value is done without a `const` or `let` which allows the value to escape the block it is defined in. This results in the `sha` value in the API call to be incorrect because it uses a previous files `sha` value, or the file content as well.
- Loading branch information
1 parent
050669a
commit 9db43e7
Showing
2 changed files
with
69 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters