We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73146a0 commit afcbfcbCopy full SHA for afcbfcb
spec/datadog/ci/git/packfiles_spec.rb
@@ -7,8 +7,8 @@
7
before { skip if PlatformHelpers.jruby? }
8
9
let(:commits) { Datadog::CI::Git::LocalRepository.git_commits }
10
- let(:included_commits) { commits[0..1] }
11
- let(:excluded_commits) { commits[2..] }
+ let(:included_commits) { commits[0..1] || [] }
+ let(:excluded_commits) { commits[2..] || [] }
12
13
describe ".generate" do
14
it "yields packfile" do
0 commit comments