Skip to content

Commit

Permalink
Fix style issue (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
fweikert authored Mar 20, 2023
1 parent a08215b commit ef81536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ func insertArgs(baseArgs []string, newArgs []string) []string {

func parseStartupOptions(baseArgs []string) []string {
var result []string
var BAZEL_COMMANDS = map[string]bool{
var bazelCommands = map[string]bool{
"analyze-profile": true,
"aquery": true,
"build": true,
Expand All @@ -629,7 +629,7 @@ func parseStartupOptions(baseArgs []string) []string {
}
// Arguments before a Bazel command are startup options.
for _, arg := range baseArgs {
if _, ok := BAZEL_COMMANDS[arg]; ok {
if _, ok := bazelCommands[arg]; ok {
return result
}
result = append(result, arg)
Expand Down

0 comments on commit ef81536

Please sign in to comment.