Skip to content

Commit

Permalink
Polish pass
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Apr 16, 2024
1 parent 9dc19b5 commit 8733b5d
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions source/commands/danger-init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,21 +208,20 @@ const wrapItUp = async (ui: InitUI, _state: InitState) => {
await ui.pause(0.6)

const link = (name: string, url: string) => ui.say(" * " + ui.link(name, url))
link("artsy/Emission#dangerfile.ts", "https://github.com/artsy/emission/blob/master/dangerfile.ts")
link("artsy/eigen#dangerfile.ts", "https://github.com/artsy/eigen/blob/master/dangerfile.ts")
link(
"facebook/react-native#danger/dangerfile.js",
"https://github.com/facebook/react-native/blob/master/bots/dangerfile.js"
"facebook/react-native#main/packages/react-native-bots/dangerfile.js",
"https://github.com/facebook/react-native/blob/main/packages/react-native-bots/dangerfile.js"
)
link("mui/material-ui#dangerfile.ts", "https://github.com/mui/material-ui/blob/main/dangerfile.ts#L4")
link(
"apollographql/apollo-client#dangerfile.ts",
"https://github.com/apollographql/apollo-client/blob/master/config/dangerfile.ts"
"styleguidist/react-styleguidist#dangerfile.ts",
"https://github.com/styleguidist/react-styleguidist/blob/master/dangerfile.ts"
)
link(
"styleguidist/react-styleguidist#dangerfile.js",
"https://github.com/styleguidist/react-styleguidist/blob/master/dangerfile.js"
"storybooks/storybook#.ci/danger/dangerfile.ts",
"https://github.com/storybookjs/storybook/blob/master/.ci/danger/dangerfile.ts"
)
link("storybooks/storybook#dangerfle.js", "https://github.com/storybooks/storybook/blob/master/dangerfile.js")
link("ReactiveX/rxjs#dangerfle.js", "https://github.com/ReactiveX/rxjs/blob/master/dangerfile.js")

await ui.pause(1)
}
Expand Down Expand Up @@ -250,10 +249,8 @@ const thanks = async (ui: InitUI, _state: InitState) => {
ui.say("and every who has sent PRs.\n")
ui.say(
"If you like Danger, let others know. If you want to know more, follow " +
highlight("@orta") +
" and " +
highlight("@DangerSystems") +
" on Twitter."
highlight("@orta@webtoo.ls") +
" on Mastodon!"
)
ui.say("If you don't like something about Danger, help us improve the project - it's all done on volunteer time! xxx")
ui.say("Remember: it's nice to be nice.\n")
Expand Down

0 comments on commit 8733b5d

Please sign in to comment.