Skip to content

Commit

Permalink
Fix duplicate file check
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonksthebear committed Mar 22, 2024
1 parent d24816a commit 0742ba8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
classy-yaml (0.9.0)
classy-yaml (1.1)
actionpack (>= 6)
activesupport (>= 6)
railties (>= 6)
Expand Down
2 changes: 1 addition & 1 deletion lib/classy/yaml/component_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def yass(*args)
"#{calling_path}/#{calling_file}/#{component_name}.yml"
]

helpers.yass(args, classy_files: classy_files)
helpers.yass(args, classy_files: classy_files.uniq)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/classy/yaml/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Classy
module Yaml
VERSION = '1.0'
VERSION = '1.1'
end
end

0 comments on commit 0742ba8

Please sign in to comment.