menu

danger

Spectrum chat for Danger

Channels
# All channels
view-forward
# General
view-forward
# Announcements
view-forward
# Docs
view-forward
# JavaScript
view-forward
# Peril
view-forward
# Ruby
view-forward
# Swift
view-forward
Team
Posts
Members
Info
down-caret

Hey folks, I can't seem to import an npm module (that I installed with yarn)

like so: all I get is MODULE_NOT_FOUND. Any advice on how to fix this?

thumbsup
0
message-simple
0

Trying to read diff for one single commit

Is there a way to get a TextDiff for the latest commit using danger.git? I've tried using getDiffForFile but it's returning diffs for all the commits on the branch. Thanks in advance for the help!

thumbsup
0
message-simple
1

Danger plugin development

I'm trying to build a new plugin for danger but I would love to understand how can I make the development experience better. I started with the Extending Danger docs, but I came to some problems. As I'm using Typescript, I need to compile and then run the plugin code. So I added…

thumbsup
0
message-simple
3

Setup DangerSwift on Bitrise CI can't get correct information from PRs

I'm using Bitrise CI and Bitbucket Cloud with a Swift Project. Then I'm trying to add a step on my workflow to check when there are some Pull Requests. So my step looks like: I'm also setting on Environment Variables both "DANGER_BITBUCKETCLOUD_OAUTH_KEY" and…

thumbsup
0
message-simple
0

Danger just started crashing on all my repos, any help would be appreciated

Dangers been working for a while and I haven't touched anything. It's running on a private company hosted gitlab instance. The weird thing is it always succeeds the first time when I create a new branch and danger runs. But any subsequent time after that for that branch it will…

thumbsup
0
message-simple
2

Dimissing danger comments with… comments

Is it possible to dismiss danger-js comments with a comment on GitHub from repo admins? Something like @ mybot it's okay ? :)

thumbsup
0
message-simple
2

Running Danger-swift locally

Hi I am able to execute command danger-swift local and getting output on my repo. danger.git.modifiedFiles + danger.git.createdFiles are referring from "Master branch" to "Current branch" But I need to create run danger-swift local to "custom branch" to current branch. …

thumbsup
0
message-simple
0

Please, help me with my Dangerfile

Hello! I want to implement Danger to my Gitlab projects. One of most important things is MR auto assignee. I have an exception 'Invalid Dangerfile file: undefined method `[]' for nil:NilClass' and dont know what to do with it :( My problem details described here:…

thumbsup
0
message-simple
0

How to get rid of the bullet and the warning icon

When posting inline comment on a GitHub PR with warn(), there's always a bullet and a warning icon in front of the comment content. How do I get rid of the bullet and the warning icon? Many thanks.

thumbsup
0
message-simple
5

Check if it's the first time Danger runs

I would like to send a Slack notification when a PR is created and it modifies some specific files. But I would like to send that notification only the first time Danger runs (so if there's another push, no notification is send). Is there some way to detect if it's the first…

thumbsup
0
message-simple
4