alfy-test
alfy-test copied to clipboard
detecting the index.js file for correct output of testing by the main-file.js
Hello!
This section (alfy-test/lib/main-file.js) isn't finding my main file (alfred-worflow/index.js) by the provided that I have several workflow.input.scriptfilter
objects.
If I change script = object.config.script
to script = object.config.scriptfile
this resolves this issue.
for (const object of info.objects) {
if (object.config && object.config.script && object.config.scriptfile !== '') {
script = object.config.scriptfile;
}
}
Thanks in advance for any response.
@bikenik Why did you close this, might be a valid use case, just din't have much time to check it.
@SamVerschueren you're right, but I thought the time for response will be a measure for the relevance of this issue )
Is your workflow on GitHub? If so, it would come in handy to see it for myself.
Yes, sure. https://github.com/bikenik/alfred-ldoce