Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Handle unknown compilers nicer, fallback to passthrough #163

Closed
wants to merge 1 commit into from

Conversation

MarshallOfSound
Copy link
Member

@@ -239,7 +239,11 @@ export default class CompilerHost {
if (!compiler) {
compiler = this.fallbackCompiler;

let { code, binaryData, mimeType } = await compiler.get(filePath);
if (!compiler) {
compiler = this.getPassthroughCompiler();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that this is correct, for complicated weird reasons. Do you have a repro file that you hit this with?

Copy link
Member Author

@MarshallOfSound MarshallOfSound Jan 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just running electron-forge package and then launching the packaged app

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. Imma fix this today

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants