Skip to content

Commit

Permalink
fix: variable casing (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau authored Jan 15, 2025
1 parent a50d629 commit 43cb1a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
when withDir(thisDir(), system.fileExists("nimble.paths")):
include "nimble.paths"
# end Nimble config

--stylecheck:error
4 changes: 2 additions & 2 deletions src/nph.nim
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ proc prettyPrint(infile, outfile: string, debug, check, printTokens: bool): int
outfile & ".nph.yaml",
treeToYaml(nil, parse(output, outfile, printTokens, newConfigRef())) & "\n",
)
elif fileExists(outFile) and output == readFile(outFile):
elif fileExists(outfile) and output == readFile(outfile):
# No formatting difference - don't touch file modificuation date
return QuitSuccess

Expand Down Expand Up @@ -168,7 +168,7 @@ proc main() =
usesDir = true
for file in walkDirRec(key):
if file.isNimFile:
inFiles &= file
infiles &= file
else:
infiles.add(key.addFileExt(".nim"))
of cmdLongOption, cmdShortOption:
Expand Down

0 comments on commit 43cb1a4

Please sign in to comment.