eginez / calvin

A minimalistic build tool for clojurescript projects that does not require the jvm
186 stars 9 forks source link

Remove `prn` calls from error messages #21

Closed alepeino closed 6 years ago

alepeino commented 6 years ago

Current behaviour:

"src"
FATAL: :source-paths must be a vector, got nil
eginez commented 6 years ago

I think I follow what is happening but, could you just explain a little better what this fixes?

alepeino commented 6 years ago

Sure. See how in the output I showed (fatal ":source-paths must be a vector, got" (prn source-paths)) results in source-paths being printed into a separate line, but then the result of (prn source-paths) (that is, nil) is passed into the fatal call.

eginez commented 6 years ago

thanks for the PR