1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix Kubectl.checkBinary() to be compatible with kubectl@1.24 (#5415)

This commit is contained in:
Sebastian Malton 2022-05-18 11:34:00 -07:00 committed by GitHub
parent 5eac53e94a
commit 30a9409faf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,7 +155,7 @@ export class Kubectl {
try { try {
const args = [ const args = [
"version", "version",
"--client", "true", "--client",
"--output", "json", "--output", "json",
]; ];
const { stdout } = await promiseExecFile(path, args); const { stdout } = await promiseExecFile(path, args);