Update mockgen.go import removal pattern
Previously, it would remove the entire import line and depend on
goimports to correct the issue. goimports + mockgen doesn't always
play well with vendored dependencies.
New behavior only removes the vendor directory prefix, but still
runs goimport to validate / organize.
@@ -24,7 +24,7 @@ import (
)
const (
- projectVendor = `github.com/aws/amazon-ecs-agent/agent/vendor`
+ projectVendor = `github.com/aws/amazon-ecs-agent/agent/vendor/`
copyrightHeaderFormat = "// Copyright 2015-%v Amazon.com, Inc. or its affiliates. All Rights Reserved."
licenseBlock = `
//
