Skip to content

Commit

Permalink
Only run Crashlytics in production
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 29, 2019
1 parent 074bf8c commit ceb40e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gifski/AppDelegate.swift
Expand Up @@ -24,7 +24,9 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
}

func applicationDidFinishLaunching(_ notification: Notification) {
#if !DEBUG
Fabric.with([Crashlytics.self])
#endif

mainWindowController.showWindow(self)

Expand Down

0 comments on commit ceb40e5

Please sign in to comment.