Skip to content

Commit

Permalink
Add typos linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavid committed Jun 25, 2023
1 parent 6cc7b80 commit 3e7b5b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
env:
VALIDATE_ALL_CODEBASE: true
VALIDATE_ANSIBLE: false
- uses: crate-ci/typos@master
- uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: .github/*.yml .github/workflows/*.yml
Expand Down
2 changes: 1 addition & 1 deletion lib/renamr/configurator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def validate

@options[:dir] = File.expand_path(dir)
end
raise "Width of the table should exeeds 14 symbols: #{wid}." if wid < 15
raise "Width of the table should exceeds 14 symbols: #{wid}." if wid < 15
end

def act?
Expand Down
2 changes: 1 addition & 1 deletion lib/renamr/point.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
require_relative 'action'

module Renamr
# All points besides extention are replaced by minus.
# All points besides extension are replaced by minus.
class PointAction < Action
def initialize(dir)
raise 'dir cannot be nil.' if dir.nil?
Expand Down

0 comments on commit 3e7b5b0

Please sign in to comment.