lib/knapsack_pro/config/ci/circle.rb in knapsack_pro-3.10.0 vs lib/knapsack_pro/config/ci/circle.rb in knapsack_pro-3.11.0
- old
+ new
@@ -23,9 +23,13 @@
end
def project_dir
ENV['CIRCLE_WORKING_DIRECTORY']
end
+
+ def user_seat
+ ENV['CIRCLE_USERNAME'] || ENV['CIRCLE_PR_USERNAME']
+ end
end
end
end
end