diff --git a/console/cli_air.go b/console/cli_air.go index ab2a69b..14ece73 100644 --- a/console/cli_air.go +++ b/console/cli_air.go @@ -10,7 +10,6 @@ package console import ( "flag" "fmt" - "io/ioutil" "os" "os/exec" @@ -79,7 +78,7 @@ func (c *cAir) initConfCmd(args []string) { fmt.Printf("Conf file %s exists, SKIP\n\n", *output) } else { fmt.Printf("Writing conf to %s ...\n", *output) - ioutil.WriteFile(*output, []byte(conf), 0644) + os.WriteFile(*output, []byte(conf), 0644) fmt.Println("Done") } }