MCPcopy Create free account
hub / github.com/github/gh-aw / isErrNpmNotAvailable

Function isErrNpmNotAvailable

pkg/workflow/npm_validation_errors.go:11–13  ·  view source on GitHub ↗

isErrNpmNotAvailable reports whether err indicates that npm is not installed on the system.

(err error)

Source from the content-addressed store, hash-verified

9
10// isErrNpmNotAvailable reports whether err indicates that npm is not installed on the system.
11func isErrNpmNotAvailable(err error) bool {
12 return errors.Is(err, ErrNpmNotAvailable)
13}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected