Skip to content

Commit

Permalink
1703110639
Browse files Browse the repository at this point in the history
  • Loading branch information
azimux committed Dec 20, 2023
1 parent e72d487 commit 9ad729e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/remote_generator/services/dependency_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ def initialize(dependencies, name:)

def collision_data_for(dep)
key = to_key(dep)
collision_data[key]
collision_data[key].tap do |cd|
unless cd
raise "Dependency #{dep} is not part of this dependency group"
end
end
end

def set_collision_data_for(dep, collision_data)
Expand Down
2 changes: 1 addition & 1 deletion src/remote_generator/templates/Command/Result.ts.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
import { <%= entity_generator.all_names.join(", ") %> } from "<%= path_to_root %><%= entity_generator.import_path %>"
<% end %>

export default <%= foobara_type_to_ts_type(inputs_type, name: "Result") %>
export default <%= foobara_type_to_ts_type(result_type, name: "Result") %>

0 comments on commit 9ad729e

Please sign in to comment.