@impeccable/reviews 0.1.22 → 0.1.24

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.
package/dist/preflight.js CHANGED
@@ -62,6 +62,7 @@ export function parseFlags(argv, env = process.env, cwd = process.cwd()) {
62
62
  yes: { type: 'boolean', default: false },
63
63
  'no-sandbox': { type: 'boolean', default: false },
64
64
  'no-telemetry': { type: 'boolean', default: false },
65
+ 'signed-in-test-drive': { type: 'boolean', default: false },
65
66
  help: { type: 'boolean', short: 'h', default: false },
66
67
  },
67
68
  }));
@@ -99,7 +100,7 @@ export function parseFlags(argv, env = process.env, cwd = process.cwd()) {
99
100
  const installDir = named?.trim() ? { path: resolve(cwd, named), from: values['install-dir'] !== undefined ? '--install-dir' : INSTALL_DIR_ENV } : undefined;
100
101
  // Paths from the folder the command is run in too: it goes on from the checkout's top.
101
102
  const path = (value) => (value === undefined ? undefined : resolve(cwd, value.trim()));
102
- return { host: host.origin, installDir, ...(values.app !== undefined ? { app: values.app.trim() } : {}), debug: values.debug, transcript: path(values.transcript), scanReport: values['scan-report'], frames: path(values.frames), model: values.model?.trim(), effort: values.effort, yes: values.yes, noSandbox: values['no-sandbox'], noTelemetry: values['no-telemetry'], help: values.help };
103
+ return { host: host.origin, installDir, ...(values.app !== undefined ? { app: values.app.trim() } : {}), debug: values.debug, transcript: path(values.transcript), scanReport: values['scan-report'], frames: path(values.frames), model: values.model?.trim(), effort: values.effort, yes: values.yes, noSandbox: values['no-sandbox'], noTelemetry: values['no-telemetry'], signedInTestDrive: values['signed-in-test-drive'], help: values.help };
103
104
  }
104
105
  const NOT_A_CHECKOUT = { event: 'setup_command_check_failed', outcome: 'not_a_checkout' };
105
106
  /** owner/repo from a GitHub remote address, in any of the forms git accepts. */