Skip to content

Commit e13bed1

Browse files
authored
Merge branch 'main' into fb/cve-octokit-rest-mitigation
2 parents 387a918 + 88a524b commit e13bed1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<!-- Your comment below this -->
1818

1919
- Update `@octokit/rest` to prevent transitive CVEs - Fixes [#1479](https://github.com/danger/danger-js/issues/1479) [@fbartho]
20+
- Clean up dead discussion link - Fixes [#1467](https://github.com/danger/danger-js/issues/1467) [@fbartho]
2021

2122
<!-- Your comment above this -->
2223

source/danger.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
throw `
44
Hey 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
77
When running Danger, the import or require for Danger is removed before the code
88
is evaluated. Instead all of the imports are added to the global runtime, so if
99
you are importing Danger to use one of it's functions - you should instead just
1010
use 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
`

0 commit comments

Comments
 (0)