Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Confusing text replacement in error message (namespace -> project) #2378

Open
fe-ax opened this issue Dec 15, 2023 · 0 comments
Open

Confusing text replacement in error message (namespace -> project) #2378

fe-ax opened this issue Dec 15, 2023 · 0 comments

Comments

@fe-ax
Copy link

fe-ax commented Dec 15, 2023

errString = strings.Replace(errString, "namespace", "project", 1)

The code causes error messages to be confusing

$ acorn run -j itest-22359-asd -n app2 --target-namespace itest-22359-app2
  ✗  ERROR:  unknown flag: --target-project
@fe-ax fe-ax changed the title Confusing error message due to namespace -> project string replacement Confusing text replacement in error message (namespace -> project) Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant