alfy-test icon indicating copy to clipboard operation
alfy-test copied to clipboard

detecting the index.js file for correct output of testing by the main-file.js

Open bikenik opened this issue 6 years ago • 4 comments

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 avatar Jun 02 '18 16:06 bikenik

@bikenik Why did you close this, might be a valid use case, just din't have much time to check it.

SamVerschueren avatar Jun 26 '18 12:06 SamVerschueren

@SamVerschueren you're right, but I thought the time for response will be a measure for the relevance of this issue )

bikenik avatar Jun 26 '18 12:06 bikenik

Is your workflow on GitHub? If so, it would come in handy to see it for myself.

SamVerschueren avatar Jul 05 '18 18:07 SamVerschueren

Yes, sure. https://github.com/bikenik/alfred-ldoce

bikenik avatar Jul 05 '18 19:07 bikenik