-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update to spago@next #57
base: main
Are you sure you want to change the base?
Conversation
srghma
commented
Mar 17, 2024
•
edited
Loading
edited
What's going on with the stack overflow in your output? |
Co-authored-by: Nathan Faubion <[email protected]>
…-> I see you updated this to a section, but maybe just inline it?
the file
You think it was caused by update? |
I didn't notice the |
purescript-language-cst-parser/bench/ParseFile.purs Lines 63 to 69 in 67323ef
Yeah, because of the |
s <- liftEffect $ Buffer.toString UTF8 =<< Exec.execSync' "spago ls packages --json" (_ { cwd = Just tmpPath }) | ||
packages <- case decodeJson =<< parseJson s of | ||
Left err -> throwError $ error $ printJsonDecodeError err | ||
Right (object :: Object Json) -> pure $ Object.keys object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right (object :: Object Json) -> pure $ Object.keys object | |
Right object -> pure $ Object.keys object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it will throw error Object a0 is wrong type
yes, works
|