Skip to content

Commit 9d52e12

Browse files
Quentin Perezmoul
authored andcommitted
fix check SCW_NOCHECKVERSION
1 parent 0934a84 commit 9d52e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cli/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func initLogging(debug bool, verbose bool, streams *commands.Streams) {
166166
}
167167

168168
func checkVersion() {
169-
if os.Getenv("SCW_NOCHECKVERSION") != "1" {
169+
if os.Getenv("SCW_NOCHECKVERSION") == "1" {
170170
return
171171
}
172172
homeDir, err := config.GetHomeDir()

0 commit comments

Comments
 (0)