Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
beatmadsen committed Nov 2, 2024
1 parent bcf2cf4 commit 04bff53
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Locate files from diff in worktree
Add full path to files in tmp dir to output annotated with change type
5 changes: 0 additions & 5 deletions lib/files_in_my_diff/commit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ def validate_folder!
raise ValidationError, 'Folder is required' if @folder.nil?
raise ValidationError, 'Folder does not exist' unless @file_strategy.dir_exists?(@folder)
end

def validate_revision!
raise ValidationError, 'Revision is required' if @revision.nil?
raise ValidationError, 'Revision does not exist' unless @git_strategy.revision_exists?(@revision)
end
end
end
end

0 comments on commit 04bff53

Please sign in to comment.