Removing reference to no-longer-existing linter-in-the-cloud (#1553)
This commit is contained in:
parent
b79e0c5adf
commit
164cfab820
@ -47,9 +47,6 @@ func getDefaultDirectoryExcludeHelp() string {
|
|||||||
return strings.Join(parts, "\n")
|
return strings.Join(parts, "\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
const welcomeMessage = "Run this tool in cloud on every github pull " +
|
|
||||||
"request in https://golangci.com for free (public repos)"
|
|
||||||
|
|
||||||
func wh(text string) string {
|
func wh(text string) string {
|
||||||
return color.GreenString(text)
|
return color.GreenString(text)
|
||||||
}
|
}
|
||||||
@ -274,7 +271,7 @@ func (e *Executor) getConfigForCommandLine() (*config.Config, error) {
|
|||||||
func (e *Executor) initRun() {
|
func (e *Executor) initRun() {
|
||||||
e.runCmd = &cobra.Command{
|
e.runCmd = &cobra.Command{
|
||||||
Use: "run",
|
Use: "run",
|
||||||
Short: welcomeMessage,
|
Short: "Run the linters",
|
||||||
Run: e.executeRun,
|
Run: e.executeRun,
|
||||||
PreRun: func(_ *cobra.Command, _ []string) {
|
PreRun: func(_ *cobra.Command, _ []string) {
|
||||||
if ok := e.acquireFileLock(); !ok {
|
if ok := e.acquireFileLock(); !ok {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user