From 1feda9d44f2f7d19def80d4266dc06b6b346b1a8 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Thu, 16 Apr 2020 08:02:35 +0200 Subject: [PATCH] fix --- lib/dialog.ts | 2 +- lib/snippets/copyright/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dialog.ts b/lib/dialog.ts index 00dacfd..956fd6f 100644 --- a/lib/dialog.ts +++ b/lib/dialog.ts @@ -1,4 +1,4 @@ -class DialogHandler { +export class DialogHandler { public static catch (): void { process.exit (); } diff --git a/lib/snippets/copyright/index.ts b/lib/snippets/copyright/index.ts index 5312d05..e8a7451 100644 --- a/lib/snippets/copyright/index.ts +++ b/lib/snippets/copyright/index.ts @@ -12,6 +12,7 @@ import { Confirm, Input, AutoComplete } from 'enquirer'; // eslint-disable-next-line id-match import { findLicense } from 'license'; import { Snippet } from '../../Snippet'; +import { DialogHandler } from '../../dialog'; import { CopyrightGenerator } from './copyright_generator'; import { FileMapper } from './file_mapper'; import { CopyrightOptions } from './copyright_options';