Skip to content

Commit

Permalink
As per go guidelines for slices
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Sep 17, 2018
1 parent 7524dad commit 579663b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func walkDirectoryParallel(root string, output chan *FileJob) {

func walkDirectory(toWalk string, blackList []string, extensionLookup map[string]string) []FileJob {
extension := ""
filejobs := []FileJob{}
var filejobs []FileJob

godirwalk.Walk(toWalk, &godirwalk.Options{
// Unsorted is meant to make the walk faster and we need to sort after processing anyway
Expand Down

0 comments on commit 579663b

Please sign in to comment.