This commit is contained in:
Robin Olsen
2026-03-26 22:59:11 +01:00
parent d983427ca9
commit 9ad1c5535c
3 changed files with 9 additions and 17 deletions

View File

@@ -28,12 +28,6 @@ func (r *REPL) execute(input string) (string, error) {
if after, ok := strings.CutPrefix(input, "pm"); ok {
if strings.Contains(strings.Split(after, " ")[1], "start") {
//trimmedAfter := strings.TrimSpace(after)
//parts := shellSplit(trimmedAfter)
// Prevent accidental attempts to run "pm start ..." inside the REPL.
// (The REPL uses `status/title/help` and shell execution instead.)
//if len(parts) > 1 && strings.Contains(parts[1], "start") {
return "Nice try👻", nil
}