MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Misspell

Method Misspell

tools/mage/dev.go:39–65  ·  view source on GitHub ↗

Misspell fixes common spelling mistakes in files.

()

Source from the content-addressed store, hash-verified

37
38// Misspell fixes common spelling mistakes in files.
39func (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
67var (
68 sqlDatabase = "postgres"

Callers

nothing calls this directly

Calls 1

runGoToolFunction · 0.85

Tested by

no test coverage detected