mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Remove dead code in WriteTypes
This commit is contained in:
@ -56,9 +56,6 @@ func WriteTypes(args TypesArgs) error {
|
||||
file.WriteString("// To update it, run `dnscontrol write-types`.\n\n")
|
||||
file.WriteString("// " + version + "\n")
|
||||
file.WriteString(dtsContent)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
print("Successfully wrote " + args.DTSFile + "\n")
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user