File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1515## Main
1616
1717<!-- Your comment below this -->
18+
19+ - Clean up dead discussion link - Fixes [ #1467 ] ( https://github.com/danger/danger-js/issues/1467 ) [ @fbartho ]
20+
1821<!-- Your comment above this -->
1922
2023## 12.3.4
Original file line number Diff line number Diff line change 22
33throw `
44Hey there, it looks like you're trying to import the danger module. Turns out
5- that the code you write in a Dangerfile.js is actually a bit of a sneaky hack.
5+ that the code you write in a Dangerfile.js is actually a bit of a sneaky hack.
66
77When running Danger, the import or require for Danger is removed before the code
88is evaluated. Instead all of the imports are added to the global runtime, so if
99you are importing Danger to use one of it's functions - you should instead just
1010use the global object for the root DSL elements.
1111
12- There is a spectrum thread for discussion here:
13- - https://spectrum.chat/?t=0a005b56-31ec-4919-9a28-ced623949d4d
12+ There is a thread for discussion here:
13+ - https://github.com/danger/danger-js/discussions/1153#discussioncomment-10981472
1414`
You can’t perform that action at this time.
0 commit comments