revert: "fix: chmod with 775 after install (closes #4)"

This reverts commit b413e7e15e.
This commit is contained in:
Aarnav Tale
2023-02-15 13:45:10 -05:00
parent b413e7e15e
commit a3a1ddb586

View File

@@ -1,5 +1,5 @@
import { createHash, randomUUID } from 'node:crypto'
import { chmod, mkdir, writeFile } from 'node:fs/promises'
import { mkdir, writeFile } from 'node:fs/promises'
import { join } from 'node:path'
import { env, stdout } from 'node:process'
import { clearLine, cursorTo } from 'node:readline'
@@ -41,7 +41,6 @@ export async function installKubectl() {
console.log(`Installing kubectl to ${path}`)
await writeFile(join(path, 'kubectl'), kubectl)
await chmod(join(path, 'kubectl'), '755')
addPath(path)
}