Skip to content

Commit

Permalink
A few touchups after merge. Bumps rubocop to 0.59.2
Browse files Browse the repository at this point in the history
  • Loading branch information
osis committed Oct 3, 2018
1 parent 7485220 commit 291d335
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/scripts/run-rubocop.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -e

cd LicenseFinder
gem install rubocop --version 0.59.1
gem install rubocop --version 0.59.2


echo "Running Rubocop ..."
Expand Down
2 changes: 2 additions & 0 deletions features/features/package_managers/go_modules_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require_relative '../../support/feature_helper'

describe 'Go Modules Dependencies' do
Expand Down
4 changes: 3 additions & 1 deletion lib/license_finder/package_managers/go_modules.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# frozen_string_literal: true

module LicenseFinder
class GoModules < PackageManager
PACKAGES_FILE = 'go.sum'.freeze
PACKAGES_FILE = 'go.sum'

class << self
def takes_priority_over
Expand Down
2 changes: 2 additions & 0 deletions spec/lib/license_finder/package_managers/go_modules_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'spec_helper'
require 'fakefs/spec_helpers'

Expand Down

0 comments on commit 291d335

Please sign in to comment.