We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a924b3 commit a48ad88Copy full SHA for a48ad88
1 file changed
pkg/commands/rm.go
@@ -146,6 +146,10 @@ func (c *RmCommand) removeContainer(
146
}
147
148
func (c *RmCommand) cleanup(ctx context.Context, userHome, containerName string) {
149
+ if containerName == "" {
150
+ panic("Refusing to run cleanup for empty container name")
151
+ }
152
+
153
bins := findExportedBinaries(userHome, containerName)
154
desktopApps := findExportedDesktopApps(userHome, containerName)
155
0 commit comments