Read file in Dangerfile #1474
Unanswered
antonisprovidakis
asked this question in
Q&A
Replies: 1 comment 1 reply
-
it probably can't find babel/typescript to transpile to cjs (due to pnpm) you can try use an esm dangerfile maybe |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can I read a file from the filesystem inside a dangerfile?
Here is part of the dangerfile:
I run danger locally:
pnpm danger pr https://github.com/Foo/ui/pull/123
,but I get an error:
Beta Was this translation helpful? Give feedback.
All reactions