aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bridge_pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bridge_pull.go')
-rw-r--r--commands/bridge_pull.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/bridge_pull.go b/commands/bridge_pull.go
index 521f2d9c..a90a533f 100644
--- a/commands/bridge_pull.go
+++ b/commands/bridge_pull.go
@@ -35,9 +35,10 @@ func runBridgePull(cmd *cobra.Command, args []string) error {
}
var bridgePullCmd = &cobra.Command{
- Use: "pull [<name>]",
- Short: "Pull updates",
- RunE: runBridgePull,
+ Use: "pull [<name>]",
+ Short: "Pull updates",
+ PreRunE: loadRepo,
+ RunE: runBridgePull,
}
func init() {