fix 500 error when trying to test newly added script
This commit is contained in:
@@ -150,7 +150,7 @@ export default {
|
||||
// script form logic
|
||||
const script = props.script
|
||||
? ref(Object.assign({}, props.script))
|
||||
: ref({ shell: "powershell", default_timeout: 90 });
|
||||
: ref({ shell: "powershell", default_timeout: 90, args: [] });
|
||||
|
||||
if (props.clone) script.value.name = `(Copy) ${script.value.name}`;
|
||||
const code = ref("");
|
||||
|
||||
Reference in New Issue
Block a user