Skip to content

Commit

Permalink
Always ignore the vendor/ directory form the sorbet/config
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
Co-authored-by: Ufuk Kayserilioglu <ufuk.kayserilioglu@shopify.com>
  • Loading branch information
Morriar and paracycle committed Mar 9, 2022
1 parent d1bc915 commit f4b4a9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/tapioca/commands/init.rb
Expand Up @@ -41,6 +41,7 @@ def create_sorbet_config
create_file(@sorbet_config, <<~CONTENT, skip: true, force: false)
--dir
.
--ignore=vendor/
CONTENT
end

Expand Down
1 change: 1 addition & 0 deletions spec/tapioca/cli/init_spec.rb
Expand Up @@ -28,6 +28,7 @@ class InitSpec < SpecWithProject
assert_equal(<<~CONFIG, @project.read("sorbet/config"))
--dir
.
--ignore=vendor/
CONFIG

assert_project_file_equal("sorbet/tapioca/require.rb", <<~RB)
Expand Down

0 comments on commit f4b4a9c

Please sign in to comment.