Skip to content

Commit

Permalink
lib/aliases: remove unnecessary comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid authored Aug 30, 2024
1 parent a6c8cae commit 0e376d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aliases.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def remove(name)
def each(only)
Dir["#{BASE_DIR}/*"].each do |path|
next if path.end_with? "~" # skip Emacs-like backup files
next if File.directory?(path) # skip directories
next if File.directory?(path)

_shebang, _meta, *lines = File.readlines(path)
target = File.basename(path)
Expand Down

0 comments on commit 0e376d3

Please sign in to comment.