mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 05:57:13 -04:00
Remove leftover unused arguments parsing for external execution
This commit is contained in:
parent
b5d311c00c
commit
e6b705be26
1 changed files with 0 additions and 8 deletions
|
@ -162,14 +162,6 @@ if (Meteor.isServer) {
|
|||
}
|
||||
|
||||
if (isValid && attachmentUploadExternalProgram) {
|
||||
let args = { ...attachmentUploadExternalProgram.args };
|
||||
|
||||
for (let key in args) {
|
||||
if (args[key] == "%file") {
|
||||
args[key] = fileObj.path;
|
||||
}
|
||||
}
|
||||
|
||||
Promise.await(asyncExec(attachmentUploadExternalProgram.replace("{file}", '"' + fileObj.path + '"')));
|
||||
isValid = fs.existsSync(fileObj.path);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue