Skip to content

Update dangerfile for 2018 #trivial#746

Merged
Adlai-Holler merged 3 commits into
masterfrom
AHDangerfile
Jan 15, 2018
Merged

Update dangerfile for 2018 #trivial#746
Adlai-Holler merged 3 commits into
masterfrom
AHDangerfile

Conversation

@Adlai-Holler

Copy link
Copy Markdown
Member

Fixes #745

I added a TODO inside of a "post-Texture-modified" file to test the new dangerfile.

@ghost

ghost commented Jan 15, 2018

Copy link
Copy Markdown
1 Warning
⚠️ PR modifies CI file

Generated by 🚫 Danger

Comment thread Source/ASTextNode.mm
CGColorRelease(_shadowColor);

// TODO: This may not be necessary post-iOS-9 when most UIKit assign APIs
// were changed to weak.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file was already modified post-Texture, so this change would have triggered a danger warning without the hack added in this diff.

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window = [[UIWindow alloc] initWithFrame:UIScreen.mainScreen.bounds];

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file had not been modified post-Texture, so this file was checked against the new license text (hack did not apply.)

@garrettmoon garrettmoon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call

@Adlai-Holler
Adlai-Holler merged commit 193be32 into master Jan 15, 2018
@Adlai-Holler Adlai-Holler mentioned this pull request Jan 16, 2018
@Adlai-Holler
Adlai-Holler deleted the AHDangerfile branch February 12, 2018 21:21
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
* Update the dangerfile

* Make a trivial change to test new dangerfile

* Try out the new value with another trivial change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants