Better logging
This commit is contained in:
parent
ca91709801
commit
75558add17
11 changed files with 62 additions and 68 deletions
|
@ -1,8 +1,5 @@
|
|||
import * as debug from 'debug';
|
||||
import Emoji from '../models/emoji';
|
||||
|
||||
debug.enable('*');
|
||||
|
||||
async function main(name: string, url: string, alias?: string): Promise<any> {
|
||||
const aliases = alias != null ? [ alias ] : [];
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
import parseAcct from '../misc/acct/parse';
|
||||
import resolveUser from '../remote/resolve-user';
|
||||
import * as debug from 'debug';
|
||||
|
||||
debug.enable('*');
|
||||
|
||||
async function main(acct: string): Promise<any> {
|
||||
const { username, host } = parseAcct(acct);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue