28223, "jabraham17", "[Bug]: 'mason init/new --light' does not work properly", "2025-12-16T22:01:35Z"
I found the following error cases with mason init --light and mason new --light
- Should have gotten an error message about a missing package name
$ mason new --light
uncaught FileNotFoundError: No such file or directory (mkdir called with illegal path: '')
MasonUtils.chpl:788: thrown here
MasonNew.chpl:73: uncaught here
mason init --lightshould just work
$ mason init --light
uncaught FileExistsError: File exists (in mkdir with path "/Users/jade/foo")
MasonUtils.chpl:788: thrown here
MasonInit.chpl:73: uncaught here
mason init --light fooshould just work
$ mason init --light foo
Directory does not exist: foo Did you mean 'mason new' to create a new project from scratch?
mason init foo also seems to not work well. It gets the same error. I don't think any input to mason init is valid, so it may just be we need to remove that