Manually set import in altsrc flag generation
Otherwise `goimports` switches it to `github.com/urfave/cli`
This commit is contained in:
parent
33bb4c1213
commit
df95e0708f
@ -202,6 +202,10 @@ def _write_altsrc_flag_types(outfile, types):
|
||||
_fwrite(outfile, """\
|
||||
package altsrc
|
||||
|
||||
import (
|
||||
"gopkg.in/urfave/cli.v1"
|
||||
)
|
||||
|
||||
// WARNING: This file is generated!
|
||||
|
||||
""")
|
||||
|
Loading…
Reference in New Issue
Block a user