From 7743a03df89ac24477c368e2038aeff5010ee79f Mon Sep 17 00:00:00 2001 From: Robert Kiel Date: Wed, 4 May 2016 10:29:29 -0400 Subject: [PATCH] Update branchability.rb add support for a different USER --- lib/shared/branchability.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shared/branchability.rb b/lib/shared/branchability.rb index 1c64498..8a0efea 100644 --- a/lib/shared/branchability.rb +++ b/lib/shared/branchability.rb @@ -19,7 +19,7 @@ module Shared user = parts.shift standard = parts.shift - error "invalid user: #{user}" unless ENV['USER'] == user + error "invalid user: #{user}" unless [ENV['FEATURE_USER'],ENV['USER']].include? user error "invalid branch: #{standard}" unless standard_branches.include? standard feature = parts.join('-') { user: user, standard: standard, feature: feature }