File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
visualstudio-extension/src/CopilotTokenTracker/Data Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 7272 - name : Determine trigger type
7373 id : trigger_type
7474 run : |
75- if [[ "${{ github.event_name }} " == "push" && "${{ github.ref }} " == refs/tags/cli/v* ]]; then
75+ if [[ "$GITHUB_EVENT_NAME " == "push" && "$GITHUB_REF " == refs/tags/cli/v* ]]; then
7676 echo "is_tag=true" >> "$GITHUB_OUTPUT"
7777 TAG_VERSION=${GITHUB_REF#refs/tags/cli/v}
7878 echo "tag_version=$TAG_VERSION" >> "$GITHUB_OUTPUT"
Original file line number Diff line number Diff line change @@ -173,13 +173,14 @@ public static Task GetAllDataAsync()
173173 return _inflightAllTask ;
174174 }
175175
176- _inflightAllTask = RunGetAllDataAsync ( ) ;
177- _ = _inflightAllTask . ContinueWith ( _ =>
176+ var task = RunGetAllDataAsync ( ) ;
177+ _inflightAllTask = task ;
178+ _ = task . ContinueWith ( _ =>
178179 {
179180 lock ( _allLock ) { _inflightAllTask = null ; }
180181 } , System . Threading . Tasks . TaskContinuationOptions . ExecuteSynchronously ) ;
181182
182- return _inflightAllTask ;
183+ return task ;
183184 }
184185 }
185186
You can’t perform that action at this time.
0 commit comments