Commit 341aaca
committed
fix(setup-gcp): filter scope output to https:// lines
Address review feedback: ts-node stderr (Node deprecation warnings, etc.)
was captured into SCOPES_OUTPUT via 2>&1 and would have been surfaced to
the user as bogus OAuth scopes. Filter on the https:// prefix instead, and
fail loudly if filtering leaves zero scopes.1 parent 1c2eaea commit 341aaca
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
107 | 110 | | |
108 | | - | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
111 | 120 | | |
112 | 121 | | |
113 | 122 | | |
| |||
0 commit comments