Skip to content

Commit 6309682

Browse files
committed
fix: goenv uninstall
1 parent 74c8b7b commit 6309682

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "default",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"description": "Default plugin for Codify - provides 50+ declarative resources for managing development tools and system configuration across macOS and Linux",
55
"main": "dist/index.js",
66
"scripts": {

src/resources/go/goenv/goenv.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ async function installOnLinux(): Promise<void> {
131131
async function uninstallOnMacOS(): Promise<void> {
132132
const $ = getPty();
133133
await Utils.uninstallViaPkgMgr('goenv', undefined, PackageManager.BREW);
134+
await $.spawnSafe(`rm -rf ${GOENV_ROOT}`);
135+
134136
await removeGoenvFromShellRc([GOENV_INIT]);
135137
}
136138

0 commit comments

Comments
 (0)