mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-12-30 20:22:57 +08:00
Remove dead code in WriteTypes
This commit is contained in:
parent
68314ee034
commit
dfda97b593
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue