screengrab/lib/screengrab/commands_generator.rb in fastlane-2.24.0.beta.20170327010009 vs screengrab/lib/screengrab/commands_generator.rb in fastlane-2.24.0.beta.20170328010037

- old
+ new

@@ -46,10 +46,10 @@ c.syntax = 'fastlane screengrab init' c.description = "Creates a new Screengrabfile in the current directory" c.action do |args, options| require 'screengrab/setup' - path = (Screengrab::Helper.fastlane_enabled? ? './fastlane' : '.') + path = Screengrab::Helper.fastlane_enabled? ? FastlaneCore::FastlaneFolder.path : '.' Screengrab::Setup.create(path) end end default_command :run