Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/twilio-run/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import * as NewCommand from './commands/new';
import * as StartCommand from './commands/start';
import * as ListTemplatesCommand from './commands/list-templates';
import * as LogsCommand from './commands/logs';
import './utils/debug';

export async function run(rawArgs: string[]) {
yargs
Expand Down
2 changes: 0 additions & 2 deletions packages/twilio-run/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
import './utils/debug';

export { functionToRoute as handlerToExpressRoute } from './runtime/route';
export { runServer as runDevServer } from './runtime/server';
2 changes: 2 additions & 0 deletions packages/twilio-run/src/utils/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,5 @@ debug.formatters.r = function redactedFormatterSameline(v: any): string {
}
return debug.formatters.o.bind(debug)(v);
};

export default debug;
2 changes: 1 addition & 1 deletion packages/twilio-run/src/utils/logger.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ClientApiError } from '@twilio-labs/serverless-api/dist/utils/error';
import debug from 'debug';
import debug from './debug';
import ora from 'ora';
import { Writable } from 'stream';
import terminalLink from 'terminal-link';
Expand Down