Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get reference to fastlane folder the more correct way #9466

Merged
merged 4 commits into from
Jun 14, 2017

Conversation

taquitos
Copy link
Collaborator

Checklist

  • I've run bundle exec rspec from the root directory to see all new and existing tests pass
  • I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary.

Description

Update to get the fastlane folder the more correct way (that will even find it if the folder starts with a .)

@@ -240,6 +240,10 @@ def self.fastlane_enabled?
@enabled ||= !FastlaneCore::FastlaneFolder.path.nil?
end

def self.fastlane_enabled_folder_path
Copy link
Member

Choose a reason for hiding this comment

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

A comment here would be great to describe what the method does

Copy link
Member

@KrauseFx KrauseFx left a comment

Choose a reason for hiding this comment

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

Wohooo, all the clean ups :recy

Joshua Liebowitz and others added 2 commits June 13, 2017 17:13
Fixes:
deliver/lib/deliver/commands_generator.rb:38:5: W: Lint/UnneededDisable: Unnecessary disabling of Metrics/PerceivedComplexity.
Describes fastlane_enabled_folder_path
Copy link
Contributor

@ohayon ohayon left a comment

Choose a reason for hiding this comment

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

💯

Copy link
Member

@KrauseFx KrauseFx left a comment

Choose a reason for hiding this comment

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

:fidget_spinner:

@taquitos
Copy link
Collaborator Author

@KrauseFx omg when are we getting fastlane fidget spinners?

@taquitos taquitos merged commit 256e6e3 into master Jun 14, 2017
@taquitos taquitos deleted the fastlane_folder_reference_update branch June 14, 2017 01:01
@fastlane-bot
Copy link

Hey @taquitos 👋

Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉
The code change now lives in the master branch, however it wasn't released to RubyGems yet.
We usually ship about once a week, and your PR will be included in the next one.

Please let us know if this change requires an immediate release by adding a comment here 👍
We'll notify you once we shipped a new release with your changes 🚀

@fastlane-bot
Copy link

Congratulations! 🎉 This was released as part of fastlane 2.39.0 🚀

@fastlane-bot
Copy link

Congratulations! 🎉 This was released as part of fastlane 2.39.0 🚀

dvdchr pushed a commit to dvdchr/fastlane that referenced this pull request Sep 5, 2017
* get reference to fastlane folder the more correct way

* Sure rubocop. Whatever.
Fixes:
deliver/lib/deliver/commands_generator.rb:38:5: W: Lint/UnneededDisable: Unnecessary disabling of Metrics/PerceivedComplexity.

* Added comment

Describes fastlane_enabled_folder_path

* Cleaned up rubocop's mess

Added new line
@fastlane fastlane locked and limited conversation to collaborators Sep 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants