From f2d97b267a3332392e965ad096199e18deb6b50c Mon Sep 17 00:00:00 2001 From: Kononnable Date: Sun, 9 Feb 2020 22:03:13 +0100 Subject: [PATCH] small refactor --- src/IGenerationOptions.ts | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IGenerationOptions.ts b/src/IGenerationOptions.ts index 62800e6..684494d 100644 --- a/src/IGenerationOptions.ts +++ b/src/IGenerationOptions.ts @@ -12,7 +12,7 @@ export default interface IGenerationOptions { convertCaseFile: "pascal" | "param" | "camel" | "none"; convertCaseEntity: "pascal" | "camel" | "none"; convertCaseProperty: "pascal" | "camel" | "none"; - convertEol: string; + convertEol: "LF" | "CRLF"; propertyVisibility: "public" | "protected" | "private" | "none"; lazy: boolean; activeRecord: boolean; diff --git a/src/index.ts b/src/index.ts index 6292a57..15e34c8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -531,7 +531,7 @@ async function useInquirer(options: options): Promise { defaultGenerationOptions.convertCaseFile }, { - name: "Change EOL to be \\n or \\r\\n", + name: "Use specific EOL character", value: "converteol", checked: false },