lib/pah/files/lib/tasks/integration.rake in pah-0.0.5 vs lib/pah/files/lib/tasks/integration.rake in pah-0.0.6
- old
+ new
@@ -17,10 +17,10 @@
p80 "Project is already being integrated by #{integrating_by}"
exit
end
end
task :lock do
- user = `whoami`
+ user = `whoami`.strip
Bundler.with_clean_env { sh "heroku config:set INTEGRATING_BY=#{user} --app #{APP}" }
end
task :unlock do
Bundler.with_clean_env { sh "heroku config:unset INTEGRATING_BY --app #{APP}" }
end