You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd.Flags().StringVar(&f.destinationURL, "destination-url", "", "The URL of the GitHub Enterprise instance to push to.")
28
+
cmd.MarkFlagRequired("destination-url")
29
+
cmd.Flags().StringVar(&f.destinationToken, "destination-token", "", "A token to access the API on the GitHub Enterprise instance.")
30
+
cmd.MarkFlagRequired("destination-token")
31
+
cmd.Flags().StringVar(&f.destinationRepository, "destination-repository", "github/codeql-action", "The name of the repository to create on GitHub Enterprise.")
Copy file name to clipboardExpand all lines: internal/cachedirectory/cachedirectory.go
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ import (
8
8
"path"
9
9
"path/filepath"
10
10
11
+
"github.com/go-git/go-git/v5"
11
12
"github.com/pkg/errors"
12
13
)
13
14
@@ -16,6 +17,8 @@ const errorNotACacheOrEmpty = "The cache directory you have selected is not empt
16
17
consterrorCacheParentDoesNotExist="Cannot create cache directory because its parent, does not exist."
17
18
consterrorPushNonCache="The directory you have provided does not appear to be valid. Please check it exists and that you have run the `pull` command to populate it."
0 commit comments