Skip to content

Commit dc99c79

Browse files
fix: Yellow warning message (#63)
1 parent 455f105 commit dc99c79

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ If you have a new feature idea, please create and issue.
325325
(alphabetical)
326326

327327
- [Roger Chi](https://rogerchi.com/)
328+
- [Sebastian Bille](https://blog.sebastianbille.com)
328329
- ⭐ Your name here for notable code or documentation contributions or sample projects submitted with a bug report that resulted in tool improvement.
329330

330331
## Disclaimer

src/lldebugger.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ async function run() {
2424
const version = await getVersion();
2525

2626
Logger.log(`Welcome to Lambda Live Debugger 🐞 version ${version}.`);
27-
Logger.important(
28-
'To keep the project moving forward, please fill out the feedback form at https://forms.gle/v6ekZtuB45Rv3EyW9. Your input is greatly appreciated!',
29-
);
3027

3128
await Configuration.readConfig();
3229

src/logger.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import chalk from 'chalk';
22

3-
const orange = '#D24E01';
43
let verboseEnabled = false;
54

65
/**
@@ -23,11 +22,7 @@ function log(...args: any[]) {
2322
* @param args The arguments to log
2423
*/
2524
function important(...args: any[]) {
26-
args = args.map((arg) =>
27-
typeof arg === 'string'
28-
? chalk.bold(chalk.bgMagenta(chalk.black(arg)))
29-
: arg,
30-
);
25+
args = args.map((arg) => (typeof arg === 'string' ? chalk.yellow(arg) : arg));
3126
console.log(...args);
3227
}
3328

@@ -45,9 +40,7 @@ function error(...args: any[]) {
4540
* @param args The arguments to log
4641
*/
4742
function warn(...args: any[]) {
48-
args = args.map((arg) =>
49-
typeof arg === 'string' ? chalk.hex(orange)(arg) : arg,
50-
);
43+
args = args.map((arg) => (typeof arg === 'string' ? chalk.yellow(arg) : arg));
5144
console.warn(...args);
5245
}
5346

0 commit comments

Comments
 (0)