diff --git a/go.mod b/go.mod index 5539eec..f15f5ee 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module scrub-pii +module scrub go 1.19 diff --git a/main.go b/main.go index bd1905e..9dcf1e7 100644 --- a/main.go +++ b/main.go @@ -25,8 +25,8 @@ func main() { os.Exit(1) } - inputPath := flag.Args()[0] - sensitiveFieldsPath := flag.Args()[1] + sensitiveFieldsPath := flag.Args()[0] + inputPath := flag.Args()[1] // scrub the input file for the given sensitive fields output, err := ScrubPersonalInfo(inputPath, sensitiveFieldsPath)