mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
fix(script): log, not warn, so all output goes to both stdout and tee
This commit is contained in:
@@ -65,7 +65,7 @@ async function _processEmailAddress (email) {
|
|||||||
}).exec();
|
}).exec();
|
||||||
|
|
||||||
if (users.length < 1) {
|
if (users.length < 1) {
|
||||||
console.warn(`No users found with email address ${email}`);
|
console.log(`No users found with email address ${email}`);
|
||||||
} else {
|
} else {
|
||||||
for (const user of users) {
|
for (const user of users) {
|
||||||
await _deleteAmplitudeData(user._id, email); // eslint-disable-line no-await-in-loop
|
await _deleteAmplitudeData(user._id, email); // eslint-disable-line no-await-in-loop
|
||||||
|
|||||||
Reference in New Issue
Block a user