Skip to content

Commit

Permalink
removed all chalk dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
isholaomotayo authored Jul 1, 2024
1 parent ee8f110 commit 1b0a252
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@ class ServerlessPlugin {
'before:logs:logs': () => {
/** @type {typeof import('chalk')} */
// @ts-ignore
const chalk = require.main.require('chalk');
// const chalk = require.main.require('chalk');
utils.log(formatText('View, tail, and search logs from all functions with https://dashboard.bref.sh'));
utils.log();
},
'before:metrics:metrics': () => {
/** @type {typeof import('chalk')} */
// @ts-ignore
const chalk = require.main.require('chalk');
// const chalk = require.main.require('chalk');
utils.log(formatText('View all your application\'s metrics with https://dashboard.bref.sh'));
utils.log();
},
Expand Down

0 comments on commit 1b0a252

Please sign in to comment.