Misspell fixes common spelling mistakes in files.
()
| 37 | |
| 38 | // Misspell fixes common spelling mistakes in files. |
| 39 | func (Dev) Misspell() error { |
| 40 | if mg.Verbose() { |
| 41 | fmt.Println("Fixing common spelling mistakes in files") |
| 42 | } |
| 43 | return runGoTool("github.com/client9/misspell/cmd/misspell", "-w", "-i", "mosquitto", |
| 44 | ".editorconfig", |
| 45 | ".gitignore", |
| 46 | ".goreleaser.release.yml", |
| 47 | ".goreleaser.snapshot.yml", |
| 48 | ".revive.toml", |
| 49 | ".travis.yml", |
| 50 | "api", |
| 51 | "cmd", |
| 52 | "config", |
| 53 | "CONTRIBUTING.md", |
| 54 | "DEVELOPMENT.md", |
| 55 | "docker-compose.yml", |
| 56 | "Dockerfile", |
| 57 | "lorawan-stack.go", |
| 58 | "Makefile", |
| 59 | "pkg", |
| 60 | "README.md", |
| 61 | "sdk", |
| 62 | "SECURITY.md", |
| 63 | "tools", |
| 64 | ) |
| 65 | } |
| 66 | |
| 67 | var ( |
| 68 | sqlDatabase = "postgres" |
nothing calls this directly
no test coverage detected