log error instead of promise rejection
This commit is contained in:
parent
deacaa76a1
commit
d38cfb041c
@ -23,4 +23,6 @@ import { Snippet } from './Snippet';
|
|||||||
const runner
|
const runner
|
||||||
= new (await import (`./snippets/${snippet}/index.js`)).default as Snippet;
|
= new (await import (`./snippets/${snippet}/index.js`)).default as Snippet;
|
||||||
runner.start (process.cwd ());
|
runner.start (process.cwd ());
|
||||||
}) ();
|
}) ()
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
|
.catch ((e) => console.log (e));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user