mirror of
https://github.com/drone-plugins/drone-npm.git
synced 2026-06-04 10:14:57 +08:00
Update impl.go
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ func (p *Plugin) Validate() error {
|
||||
return fmt.Errorf(
|
||||
"issue comparing the registries specified in drone yaml (%s) and package.json: (%s)",
|
||||
p.settings.Registry,
|
||||
npm.Config.Registry
|
||||
npm.Config.Registry,
|
||||
) // if there's an error using this default to standard validation by string compare
|
||||
}
|
||||
if !registriesMatch && !p.settings.SkipRegistryValidation {
|
||||
|
||||
Reference in New Issue
Block a user