Skip to content

Commit

Permalink
Merge pull request #701 from licensee/dependabot/docker/ruby-e037df1
Browse files Browse the repository at this point in the history
Bump ruby from `30ff8d6` to `e037df1`
  • Loading branch information
mlinksva committed Jan 15, 2024
2 parents bfb701d + aad6999 commit e73d510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM ruby:3.3.0@sha256:30ff8d6bd91710608014613c9b1820ced34f54af90d4ea20feb67cb2cc1e703b
FROM ruby:3.3.0@sha256:e037df1b10f41a27c296cc73a74f727d333759834b09adfc08b71fc7b93d7c1c

WORKDIR /usr/src/app
RUN git init
Expand Down
4 changes: 2 additions & 2 deletions lib/licensee/projects/project.rb
Expand Up @@ -119,10 +119,10 @@ def find_files
# Given a block, passes each filename to that block, and expects a numeric
# score in response. Returns a hash representing the top scoring file
# or nil, if no file scored > 0
def find_file(&block)
def find_file(...)
return if files.empty? || files.nil?

file = find_files(&block).first
file = find_files(...).first
[load_file(file), file] if file
end

Expand Down

0 comments on commit e73d510

Please sign in to comment.