summaryrefslogtreecommitdiff
path: root/checkdir.go
diff options
context:
space:
mode:
Diffstat (limited to 'checkdir.go')
-rw-r--r--checkdir.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkdir.go b/checkdir.go
index 182bf97..b597834 100644
--- a/checkdir.go
+++ b/checkdir.go
@@ -1,8 +1,8 @@
package main
import (
- "io/ioutil"
"fmt"
+ "io/ioutil"
"os"
)
@@ -26,7 +26,7 @@ func checkDir(dir string) error {
if err != nil {
return err
}
- if ! fi.IsDir() {
+ if !fi.IsDir() {
return fmt.Errorf("%s is not a directory")
}
return nil