Skip to content

Commit

Permalink
fix rubocop issue on the build
Browse files Browse the repository at this point in the history
  • Loading branch information
weiweishi committed Jul 25, 2018
1 parent f9a02ed commit 54e1f71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/pushmi_pullyu/aip.rb
Expand Up @@ -2,7 +2,7 @@

module PushmiPullyu::AIP
class NoidInvalid < StandardError; end
module_function :create
module_function

def create(noid)
raise NoidInvalid if noid.blank? || noid.include?('/')
Expand All @@ -19,5 +19,4 @@ def create(noid)
FileUtils.rm_rf(aip_directory) if File.exist?(aip_directory)
end

module_function :create
end

2 comments on commit 54e1f71

@murny
Copy link
Collaborator

@murny murny commented on 54e1f71 Jul 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@weiweishi

This one worked. It was just a different cop failing.... Can't have empty white space at the end of a class:

https://travis-ci.org/ualbertalib/pushmi_pullyu/jobs/408278811

@weiweishi
Copy link
Contributor Author

@weiweishi weiweishi commented on 54e1f71 Jul 25, 2018 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.