Skip to content

Commit

Permalink
Merge pull request cisco-open#13 from cisco-open/pr/bogus-lock-file-o…
Browse files Browse the repository at this point in the history
…n-download-should-error

download: if the lock file does not exist, error
  • Loading branch information
rabadin authored Mar 26, 2024
2 parents f664c2b + 0e5f2e4 commit afaa354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var downloadCmd = &cobra.Command{
func runFetch(cmd *cobra.Command, args []string) {
lockFile, err := cmd.Flags().GetString("lock-file")
FatalIfNotNil(err)
lock, err := internal.NewLock(lockFile, true)
lock, err := internal.NewLock(lockFile, false)
FatalIfNotNil(err)
dir, err := cmd.Flags().GetString("dir")
FatalIfNotNil(err)
Expand Down

0 comments on commit afaa354

Please sign in to comment.