tessl 0.113.0 → 0.115.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/tessl.js +5 -5
  2. package/package.json +1 -1
package/bin/tessl.js CHANGED
@@ -331,10 +331,10 @@ async function extractTarball(stream, destination) {
331
331
  if (!tar.stdin) {
332
332
  throw new Error("Failed to open tar stdin");
333
333
  }
334
- const tarExit = new Promise((resolve2, reject) => {
334
+ const tarExit = new Promise((resolve, reject) => {
335
335
  tar.on("exit", (code) => {
336
336
  if (code === 0) {
337
- resolve2();
337
+ resolve();
338
338
  } else {
339
339
  reject(new Error(`tar exited with code ${code}`));
340
340
  }
@@ -424,7 +424,7 @@ async function downloadVerifyAndExtract({
424
424
  await extractTarball(verifiedStream, destination);
425
425
  }
426
426
  async function promptConfirmation(message) {
427
- return new Promise((resolve2) => {
427
+ return new Promise((resolve) => {
428
428
  const rl = createInterface({
429
429
  input: process.stdin,
430
430
  output: process.stdout
@@ -432,7 +432,7 @@ async function promptConfirmation(message) {
432
432
  rl.question(`${message} (Y/n) `, (answer) => {
433
433
  rl.close();
434
434
  const a = answer.trim().toLowerCase();
435
- resolve2(a === "" || a === "y");
435
+ resolve(a === "" || a === "y");
436
436
  });
437
437
  });
438
438
  }
@@ -572,7 +572,7 @@ async function main() {
572
572
  printUnsupportedPlatformMessage();
573
573
  process.exit(1);
574
574
  }
575
- const installerVersion = "0.113.0";
575
+ const installerVersion = "0.115.0";
576
576
  const path = await prepareBinary({
577
577
  installerVersion,
578
578
  platform,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tessl",
3
- "version": "0.113.0",
3
+ "version": "0.115.0",
4
4
  "description": "Tessl CLI",
5
5
  "author": "Tessl",
6
6
  "license": "SEE LICENSE.md",