Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
mooooooi committed Nov 29, 2023
1 parent dee7c4c commit d046493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/activate.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function getVerification(email, password, count = 0) {
console.log(`Retrieving verfication code from ${email}, attempt ${count}`);
// Make sure you install npm package `unity-verify-code`!
const ret = execSync(`unity-verify-code "${email}" "${password}" "${savePath}"`);
process.stdout.write(ret.buffer)
console.log(ret.toString())
return fs.readFileSync(savePath, 'utf8');
} catch (err) {
console.error(err);
Expand Down

0 comments on commit d046493

Please sign in to comment.