Skip to content

Commit

Permalink
Fixed variable name typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-fox committed Mar 21, 2020
1 parent 99cb699 commit 3c40773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/finley/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func main() {
noIlspyErrors := flag.Bool("no-ilspy-errors", false, "Exit if ILSpy fails to decompile a file")
scanRecursively := flag.Bool("r", false, "Scan recursively")
numDecompilers := flag.Int("num-workers", runtime.NumCPU(), "Number of .NET decompiler instances to run concurrently")
allowDupelicateFiles := flag.Bool("allow-duplicates", false, "Decompile file even if its hash has already been encountered")
allowDuplicateFiles := flag.Bool("allow-duplicates", false, "Decompile file even if its hash has already been encountered")
ilspycmdPath := flag.String("ilspy", "ilspycmd", "The 'ilspycmd' binary to use")

flag.Parse()
Expand Down Expand Up @@ -114,7 +114,7 @@ func main() {
outputDirPath: *outputDirPath,
}.get()

if !*allowDupelicateFiles {
if !*allowDuplicateFiles {
if existingPath, containsFileHash := fileHashesToDecompiledPaths[fileSha256str]; containsFileHash {
err = os.MkdirAll(finalOutputDirPath, 0700)
if err != nil {
Expand Down

0 comments on commit 3c40773

Please sign in to comment.