diff --git a/pkg/wsl/check.go b/pkg/wsl/check.go index 90282dd..622f77f 100644 --- a/pkg/wsl/check.go +++ b/pkg/wsl/check.go @@ -20,11 +20,11 @@ import ( ) func Check(ctx context.Context, opt *types.InitOpt) { - if ok := checkFeature(ctx, opt); !ok { + if ok := checkVersion(ctx, opt); !ok { return } - if ok := checkVersion(ctx, opt); !ok { + if ok := checkFeature(ctx, opt); !ok { return }