Update workspace.c
Remove output requirement for workspace command
This commit is contained in:
parent
6b59533646
commit
db61d581a3
|
@ -38,10 +38,6 @@ struct cmd_results *cmd_workspace(int argc, char **argv) {
|
||||||
if ((error = checkarg(argc, "workspace", EXPECTED_AT_LEAST, 1))) {
|
if ((error = checkarg(argc, "workspace", EXPECTED_AT_LEAST, 1))) {
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
if (!root->outputs->length) {
|
|
||||||
return cmd_results_new(CMD_INVALID, "workspace",
|
|
||||||
"Can't run this command while there's no outputs connected.");
|
|
||||||
}
|
|
||||||
|
|
||||||
int output_location = -1;
|
int output_location = -1;
|
||||||
int gaps_location = -1;
|
int gaps_location = -1;
|
||||||
|
|
Loading…
Reference in a new issue