Skip to content

Commit

Permalink
refactor: remove chalkConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ee7 committed Jun 17, 2024
1 parent db0537e commit de237f0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/chalk_common.nim
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,6 @@ var
doingTestRun* = false
nativeCodecsOnly* = false
passedHelpFlag* = false
chalkConfig*: ChalkConfig
con4mRuntime*: ConfigStack
commandName*: string
gitExeLocation*: string = ""
Expand Down
1 change: 0 additions & 1 deletion src/confload.nim
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ proc findOptionalConf(state: ConfigState): Option[string] =
trace(fname & ": No configuration file found.")

proc loadLocalStructs*(state: ConfigState) =
chalkConfig = state.attrs.loadChalkConfig()
if getOpt[bool](getChalkScope(), "color").isSome(): setShowColor(get[bool](getChalkScope(), "color"))
setLogLevel(get[string](getChalkScope(), "log_level"))
var configPath: seq[string] = @[]
Expand Down

0 comments on commit de237f0

Please sign in to comment.