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() {
wacthDir := c.Bool("watch")
if !wacthDir {
watchDir := c.Bool("watch")
if !watchDir {
return proc.processDir(input)
} else {
return proc.watchDir(input)