Fix imports
This commit is contained in:
parent
33d6f77854
commit
189358b8ff
6
main.go
6
main.go
@ -1,11 +1,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/drone-plugins/drone-hugo"
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -101,8 +99,8 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func run(c *cli.Context) error {
|
func run(c *cli.Context) error {
|
||||||
plugin := hugo.Plugin{
|
plugin := Plugin{
|
||||||
Config: hugo.Config{
|
Config: Config{
|
||||||
HugoVersion: c.String("hugoVersion"),
|
HugoVersion: c.String("hugoVersion"),
|
||||||
BuildDrafts: c.Bool("buildDrafts"),
|
BuildDrafts: c.Bool("buildDrafts"),
|
||||||
BuildExpired: c.Bool("buildExpired"),
|
BuildExpired: c.Bool("buildExpired"),
|
||||||
|
Loading…
Reference in New Issue
Block a user