зеркало из https://github.com/golang/dep.git
ref(project): group variable declarations
Group variable declarations and correct error message (no capitalization and end with punctuation).
This commit is contained in:
Родитель
bb267f70a4
Коммит
9b8617d173
|
@ -13,8 +13,10 @@ import (
|
|||
"github.com/golang/dep/internal/gps"
|
||||
)
|
||||
|
||||
var errProjectNotFound = fmt.Errorf("could not find project %s, use dep init to initiate a manifest", ManifestName)
|
||||
var errVendorBackupFailed = fmt.Errorf("Failed to create vendor backup. File with same name exists.")
|
||||
var (
|
||||
errProjectNotFound = fmt.Errorf("could not find project %s, use dep init to initiate a manifest", ManifestName)
|
||||
errVendorBackupFailed = fmt.Errorf("failed to create vendor backup. File with same name exists")
|
||||
)
|
||||
|
||||
// findProjectRoot searches from the starting directory upwards looking for a
|
||||
// manifest file until we get to the root of the filesystem.
|
||||
|
|
Загрузка…
Ссылка в новой задаче