diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-08 13:58:10 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-08 14:01:15 +0300 |
commit | b5f6a5f91f1b39d710f33a010f2d4545fb914bd6 (patch) | |
tree | 16cb5077ab621841c57116dbce5f83768619caf2 /lib/gitlab/ci/pipeline/chain | |
parent | 865341acf881fc2e0e517acc164c69bcdda941f9 (diff) |
Add Chain::Command specs
Diffstat (limited to 'lib/gitlab/ci/pipeline/chain')
-rw-r--r-- | lib/gitlab/ci/pipeline/chain/command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/pipeline/chain/command.rb b/lib/gitlab/ci/pipeline/chain/command.rb index 6eaa8a9f911..7b19b10e05b 100644 --- a/lib/gitlab/ci/pipeline/chain/command.rb +++ b/lib/gitlab/ci/pipeline/chain/command.rb @@ -46,7 +46,7 @@ module Gitlab end def before_sha - before_sha || checkout_sha || Gitlab::Git::BLANK_SHA + self[:before_sha] || checkout_sha || Gitlab::Git::BLANK_SHA end def protected_ref? |