mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +00:00
removed unused fmt package
This commit is contained in:
parent
83424d327e
commit
092348f8f2
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
||||||
package deploy
|
package deploy
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"github.com/drone/drone/pkg/build/buildfile"
|
"github.com/drone/drone/pkg/build/buildfile"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -12,8 +11,8 @@ type Nodejitsu struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n *Nodejitsu) Write(f *buildfile.Buildfile) {
|
func (n *Nodejitsu) Write(f *buildfile.Buildfile) {
|
||||||
f.WriteEnv("username", m.User)
|
f.WriteEnv("username", n.User)
|
||||||
f.WriteEnv("apiToken", m.Token)
|
f.WriteEnv("apiToken", n.Token)
|
||||||
|
|
||||||
// Install the jitsu command line interface then
|
// Install the jitsu command line interface then
|
||||||
// deploy the configured app.
|
// deploy the configured app.
|
||||||
|
|
Loading…
Reference in a new issue