Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: installer compilation #5908

Merged
merged 2 commits into from
Mar 23, 2021

Conversation

aslushnikov
Copy link
Collaborator

For some reason typescript can't find electron types when using
nested tsconfig - workaround the bug.

Drive-by: surface installer compilation problems.

@@ -21,8 +21,11 @@ const {execSync} = require('child_process');

console.log(`Rebuilding installer...`);
try {
execSync('npm run tsc-installer');
const {stdout, stderr} = execSync('npm run tsc-installer', {
Copy link
Member

Choose a reason for hiding this comment

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

drop const {...} = ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

gracias!

For some reason typescript can't find electron types when using
nested tsconfig - workaround the bug.

Drive-by: surface installer compilation problems.
@aslushnikov aslushnikov force-pushed the fix-installer-compilation branch from 57cc35b to a21b3ae Compare March 22, 2021 23:50
@aslushnikov aslushnikov merged commit ec6453d into microsoft:master Mar 23, 2021
@aslushnikov aslushnikov deleted the fix-installer-compilation branch March 23, 2021 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants