Skip to content

Commit

Permalink
1713839852
Browse files Browse the repository at this point in the history
  • Loading branch information
azimux committed Apr 23, 2024
1 parent 25fb4e2 commit ee322ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion spec/foobara/remote_imports/import_command_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
expect(SomeOrg::Math).to be_foobara_domain
end

context "creating all commands" do
context "when creating all commands" do
let(:inputs) do
{
raw_manifest:
Expand Down
7 changes: 0 additions & 7 deletions src/foobara/remote_imports/import_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ def import_object_from_manifest
)
end

if manifest_to_import.declaration_data["model_class"] == "Foobara::Ai::Anthropic::Types::MessageResult"
$stop = true
end

manifest_to_import.types_depended_on.each do |depended_on_type|
run_subcommand!(
ImportType,
Expand All @@ -56,9 +52,6 @@ def import_object_from_manifest

type = domain.foobara_type_from_strict_stringified_declaration(manifest_to_import.declaration_data)
domain.foobara_register_type(manifest_to_import.scoped_path, type)
rescue => e
binding.pry
raise
end
end
end
Expand Down

0 comments on commit ee322ff

Please sign in to comment.