Commit 3bcb036
committed
fix: preserve HYPEMAN_BEARER_TOKEN precedence in push command
The push command historically preferred HYPEMAN_BEARER_TOKEN over
HYPEMAN_API_KEY. The refactoring to use the shared resolveAPIKey()
reversed this precedence, which could cause authentication failures
for environments that export both variables.
Check HYPEMAN_BEARER_TOKEN first in push, falling back to the shared
resolver (HYPEMAN_API_KEY > config file) when it is not set.1 parent 241adf9 commit 3bcb036
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
69 | 75 | | |
70 | 76 | | |
71 | 77 | | |
| |||
0 commit comments