Skip to content

Commit 905f5e4

Browse files
committed
fix build
1 parent 1b0b24d commit 905f5e4

File tree

3 files changed

+1
-31
lines changed

3 files changed

+1
-31
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# v0.13.1 [#](https://github.com/idleberg/vscode-pynsist/releases/tag/v0.13.1)
22

3+
- fix build
34
- fix lockfile
45

56
# v0.13.0 [#](https://github.com/idleberg/vscode-pynsist/releases/tag/v0.13.0)

src/pynsist.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { workspace, window } from 'vscode';
66

77
// Package Components
88
import { clearOutput, detectOutput, getPath, pathWarning, runInstaller, sanitize } from './util';
9-
import { sendTelemetryEvent } from './telemetry';
109

1110
const channel = window.createOutputChannel('pynsist');
1211

@@ -43,8 +42,6 @@ async function generate(runMakensis: boolean): Promise<void> {
4342
defaultArguments.push('--no-makensis');
4443
}
4544

46-
let hasErrors = false;
47-
4845
// Let's build
4946
const pynsist = spawn(pathToPynsist, defaultArguments);
5047

@@ -58,7 +55,6 @@ async function generate(runMakensis: boolean): Promise<void> {
5855

5956
// pynsist currently outputs to stderr only (v1.12)
6057
pynsist.stderr.on('data', async (line: string) => {
61-
hasErrors = true;
6258
channel.appendLine(line.toString().trim());
6359

6460
if (outScript === '') {
@@ -71,11 +67,6 @@ async function generate(runMakensis: boolean): Promise<void> {
7167
});
7268

7369
pynsist.on('close', async code => {
74-
await sendTelemetryEvent('generate', {
75-
compile: runMakensis,
76-
hasErrors,
77-
});
78-
7970
if (code === 0) {
8071
if (showNotifications) {
8172

src/telemetry.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)