Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8a0531

Browse files
committed
Remove windows npm cache key
1 parent a4d17d0 commit a8a0531

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/coder.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ jobs:
178178
path: |
179179
~/.npm
180180
%LocalAppData%\npm-cache
181-
C:\npm
182181
key: datadogci-
183182
restore-keys: datadogci-
184183

provisionerd/provisionerd.go

+3
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,9 @@ func (p *provisionerDaemon) cancelActiveJobf(format string, args ...interface{})
484484
defer p.jobMutex.Unlock()
485485
errMsg := fmt.Sprintf(format, args...)
486486
if !p.isRunningJob() {
487+
if p.isClosed() {
488+
return
489+
}
487490
p.opts.Logger.Info(context.Background(), "skipping job cancel; none running", slog.F("error_message", errMsg))
488491
return
489492
}

0 commit comments

Comments
 (0)