fix: typo

This commit is contained in:
鲁树人 2024-10-08 21:59:27 +01:00
parent 8b59bc026d
commit 2abdd47c9c

View File

@ -151,8 +151,8 @@ func appMain(c *cli.Context) (err error) {
} }
if inputStat.IsDir() { if inputStat.IsDir() {
wacthDir := c.Bool("watch") watchDir := c.Bool("watch")
if !wacthDir { if !watchDir {
return proc.processDir(input) return proc.processDir(input)
} else { } else {
return proc.watchDir(input) return proc.watchDir(input)