Do not log token
Summary: Don't log it, otherwise it may end up in Scuba, we don't want that. Reviewed By: antonk52 Differential Revision: D49187133 fbshipit-source-id: 38d4ea0801a9abbc463c23340e23f8b55e0d22f3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
93d94c9fc3
commit
dd6cef66f6
@@ -302,15 +302,11 @@ async function start() {
|
||||
}
|
||||
|
||||
async function launch() {
|
||||
let token: string | undefined;
|
||||
if (await hasAuthToken()) {
|
||||
token = await getAuthToken();
|
||||
}
|
||||
const token = await getAuthToken();
|
||||
|
||||
const searchParams = new URLSearchParams({token: token ?? ''});
|
||||
const url = new URL(`http://localhost:${argv.port}?${searchParams}`);
|
||||
|
||||
console.log('Go to: ' + chalk.green(chalk.bold(url)));
|
||||
if (!argv.open) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user