mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Refactor building default globs
This commit is contained in:
parent
7690074cab
commit
eb60b25c4e
2 changed files with 4 additions and 8 deletions
|
@ -20,7 +20,7 @@ module Ameba
|
|||
File.touch "lib/shard.cr"
|
||||
yml = YAML.parse "{}"
|
||||
config = Config.new(yml)
|
||||
config.globs.should eq Config::DEFAULT_GLOBS
|
||||
config.globs.should eq ["**/*.cr", "!lib"]
|
||||
File.delete "lib/shard.cr"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue