lib/knapsack_pro/config/ci/semaphore2.rb in knapsack_pro-5.4.1 vs lib/knapsack_pro/config/ci/semaphore2.rb in knapsack_pro-5.5.0

- old
+ new

@@ -28,9 +28,13 @@ if ENV['HOME'] && ENV['SEMAPHORE_GIT_DIR'] "#{ENV['HOME']}/#{ENV['SEMAPHORE_GIT_DIR']}" end end + def user_seat + # not provided + end + def detected # check 2 keys to be sure we are using Semaphore 2.0 ENV.key?('SEMAPHORE') && ENV.key?('SEMAPHORE_WORKFLOW_ID') ? self.class : nil end