Skip to content

Commit

Permalink
[update] remove test hardcode (#1024)
Browse files Browse the repository at this point in the history
## Summary

:facepalm:

I'm so sorry. I added these hardcodes last minute to do a sanity test
and forgot to undo the change.

## How was it tested?

Will test
  • Loading branch information
savil authored May 18, 2023
1 parent 8661579 commit 8f579b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/vercheck/vercheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"github.com/pkg/errors"
"github.com/samber/lo"
"go.jetpack.io/devbox/internal/boxcli/usererr"
"go.jetpack.io/devbox/internal/build"
"go.jetpack.io/devbox/internal/cmdutil"
"go.jetpack.io/devbox/internal/envir"
"go.jetpack.io/devbox/internal/ux"
Expand All @@ -35,12 +36,12 @@ const envName = "__DEVBOX_VERSION_CHECK"

// currentDevboxVersion is the version of the devbox CLI binary that is currently running.
// We use this variable so that we can mock it in tests.
var currentDevboxVersion = "0.4.8" // build.Version
var currentDevboxVersion = build.Version

// isDevBuild determines whether this CLI binary was built during development, or published
// as a release.
// We use this variable so we can mock it in tests.
var isDevBuild = false // build.IsDev
var isDevBuild = build.IsDev

var commandSkipList = []string{
"devbox global shellenv",
Expand Down

0 comments on commit 8f579b2

Please sign in to comment.