Skip to content

Conversation

ryanmelt
Copy link
Member

No description provided.

@ryanmelt ryanmelt requested a review from jmthomas August 24, 2023 18:43
@ryanmelt ryanmelt self-assigned this Aug 24, 2023
unless update
tools.each do |_tool_name, tool|
if tool['folder_name'] == @folder_name
raise "Tool with folder_name #{@folder_name} already exists at create"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Who catches this and how does it present itself to the user?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its caught like all other errors that happen during plugin install. Then presented to the user in installation status on the plugins tab.

@codecov
Copy link

codecov bot commented Aug 24, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -1.98% ⚠️

Comparison is base (228d2c4) 72.66% compared to head (3709b15) 70.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #793      +/-   ##
==========================================
- Coverage   72.66%   70.69%   -1.98%     
==========================================
  Files         471      471              
  Lines       30651    30637      -14     
  Branches      877      877              
==========================================
- Hits        22273    21658     -615     
- Misses       8285     8886     +601     
  Partials       93       93              
Flag Coverage Δ
ruby-api 50.67% <ø> (ø)
ruby-backend 77.73% <100.00%> (-2.95%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
openc3/lib/openc3/models/tool_model.rb 85.71% <100.00%> (+0.42%) ⬆️

... and 20 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ryanmelt ryanmelt merged commit 89a45e1 into main Aug 25, 2023
@ryanmelt ryanmelt deleted the tool_model_no_same_folder branch August 25, 2023 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants