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

Replace "composer_working_dir" with "composer_project_dir" which is restricted to the release_path. #38

Closed
wants to merge 1 commit into from

Conversation

Clindbergh
Copy link

Suggestion to resolve #37

@@ -23,7 +23,7 @@ namespace :composer do
task :run, :command do |t, args|
args.with_defaults(:command => :list)
on release_roles(fetch(:composer_roles)) do
within fetch(:composer_working_dir) do
within "#{release_path or ""}/#{fetch(:composer_project_dir)}" do
Copy link
Author

Choose a reason for hiding this comment

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

release_path is sometimes nil which may be the reason for #36

@swalkinshaw
Copy link
Member

I don't know under what circumstance release_path would be nil. Are you running this task outside of a deploy?

I'm going to leave this as is I don't think this solves an actual bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

composer_working_dir dependent on release path
2 participants