Running prettier on new pipeline during pipelines create
fails silently
#3266
Labels
bug
Something isn't working
pipelines create
fails silently
#3266
Description of the bug
In solving #3262 I discovered that the actual error is not simply in
pipelines lint
but rather that the code is broken forpipelines create
when creating a brand new repo but in that instance you get a different error which is silently swallowed (due in part to the textual interface hiding certain logging).Running
textual console
to captureprint
statements and switching logging toprint
reveals that when initially creating a pipeline with the command, thepre-commit prettier
command fails due not being inside agit
repository. You can make it fail loud (in the same way as runningpipelines lint
) if you runnf-core pipelines create
from inside a git repository (that doesn't have a.prettierignore
).Command used and terminal output
System information
No response
The text was updated successfully, but these errors were encountered: