Skip to content

Commit 9daf886

Browse files
Merge pull request #40 from gjtempleton/Remove-Recursive
Remove references to recursive
2 parents 376dd47 + b2a9c96 commit 9daf886

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

main.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@ func main() {
6666
Usage: "strip the prefix from the target",
6767
EnvVar: "PLUGIN_STRIP_PREFIX",
6868
},
69-
cli.BoolFlag{
70-
Name: "recursive",
71-
Usage: "upload files recursively",
72-
EnvVar: "PLUGIN_RECURSIVE",
73-
},
7469
cli.StringSliceFlag{
7570
Name: "exclude",
7671
Usage: "ignore files matching exclude pattern",
@@ -122,7 +117,6 @@ func run(c *cli.Context) error {
122117
Source: c.String("source"),
123118
Target: c.String("target"),
124119
StripPrefix: c.String("strip-prefix"),
125-
Recursive: c.Bool("recursive"),
126120
Exclude: c.StringSlice("exclude"),
127121
Encryption: c.String("encryption"),
128122
PathStyle: c.Bool("path-style"),

plugin.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ type Plugin struct {
6363
// Strip the prefix from the target path
6464
StripPrefix string
6565

66-
// Recursive uploads
67-
Recursive bool
68-
6966
YamlVerified bool
7067

7168
// Exclude files matching this pattern.

0 commit comments

Comments
 (0)