Skip to content

Commit

Permalink
fix: [CI-8797]: when path is overriden, print message that says use p…
Browse files Browse the repository at this point in the history
…rovided path (#55)

* test

* Cache Intel: support bazel and node

* Cache Intel: support bazel and node

* Cache Intel: support bazel and node

* ignore linter error

* ignore linter error

* allow autodectect with key

* allow autodectect with key

* add yarn and graceful detect

* clean up logs

* remove lint for now

* support golang cache

* minor wording fix

* change sub folder detect glob

* change sub folder detect glob

* use subfolder cache properly

* use subfolder cache properly

* use subfolder cache properly

* [CI-8797]: when path is overriden, print message that says use provided path
  • Loading branch information
jamie-harness authored Jul 14, 2023
1 parent 8d34732 commit 77d2390
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ func (p *Plugin) Exec() error { // nolint:funlen
}
if len(buildTools) > 0 {
p.logger.Log("msg", "build tools detected: "+strings.Join(buildTools, ", ")) //nolint: errcheck
} else if pathOverridden {
p.logger.Log("msg", "using provided cache path") //nolint: errcheck
} else {
p.logger.Log("msg", "no supported build tool detected") //nolint: errcheck
}
Expand Down

0 comments on commit 77d2390

Please sign in to comment.