When running the check-design-rules-compliance CI script, if the --ignore-unconnected-nets input argument is provided, the script prematurely exits due to an exit within the case.
[x] Remove the unnecessary exit statement
When the argument is not provided, the script fails to execute.
[x] Update the script to use a boolean value for ignore_unconnected_nets, which can then be used within an if/else block within the check_design_rules_compliance function, to call pcbnew_do with or without its --ignore_unconnected argument.
When running the
check-design-rules-compliance
CI script, if the--ignore-unconnected-nets
input argument is provided, the script prematurely exits due to anexit
within the case.exit
statementWhen the argument is not provided, the script fails to execute.
ignore_unconnected_nets
, which can then be used within an if/else block within thecheck_design_rules_compliance
function, to callpcbnew_do
with or without its--ignore_unconnected
argument.