@forge/cli
12.14.0-next.9-experimental-44a932f12.14.0-next.14-experimental-3fd1b86
out/command-line/register-authentication-command.js~
out/command-line/register-authentication-command.jsModified+1−1
Index: package/out/command-line/register-authentication-command.js
===================================================================
--- package/out/command-line/register-authentication-command.js
+++ package/out/command-line/register-authentication-command.js
@@ -5,9 +5,9 @@
const child_process_1 = tslib_1.__importDefault(require("child_process"));
const cli_shared_1 = require("@forge/cli-shared");
const anon_user_id_1 = require("./anon-user-id");
function guessEmail() {
- const child = child_process_1.default.spawnSync('git', ['config', '--global', 'user.email'], { encoding: 'utf8', shell: true });
+ const child = child_process_1.default.spawnSync('git', ['config', '--global', 'user.email'], { encoding: 'utf8' });
if (child.status || child.error) {
return undefined;
}
return child.stdout.trim();