diff --git a/src/cli/commands/help.command.ts b/src/cli/commands/help.command.ts index 7802a1d..ee4445c 100644 --- a/src/cli/commands/help.command.ts +++ b/src/cli/commands/help.command.ts @@ -11,8 +11,8 @@ export class HelpCommand implements Command { ${chalk.bold('ПРИМЕР')} ${chalk.bold('cli.js')} --${chalk.underline( - 'command', - )} [...${chalk.underline('arguments')}] + 'command', +)} [...${chalk.underline('arguments')}] ${chalk.bold('КОМАНДЫ')} ${chalk.bold('--version')} @@ -22,8 +22,8 @@ ${chalk.bold('КОМАНДЫ')} ${chalk.bold('--import')} ${chalk.underline('path')} Импортирует данные из TSV ${chalk.bold('--generate')} ${chalk.underline('n')} ${chalk.underline( - 'path', - )} ${chalk.underline('url')} + 'path', +)} ${chalk.underline('url')} Генерирует произвольное количество тестовых данных `); } diff --git a/src/shared/libs/config/rest.config.ts b/src/shared/libs/config/rest.config.ts index 316cb84..0fe82c6 100644 --- a/src/shared/libs/config/rest.config.ts +++ b/src/shared/libs/config/rest.config.ts @@ -13,7 +13,7 @@ export class RestConfig implements Config { const parsedOutput = config(); if (parsedOutput.error) { - throw new Error("Can't read .env file. Does it exist?"); + throw new Error('Can\'t read .env file. Does it exist?'); } configRestSchema.load({}); @@ -22,7 +22,7 @@ export class RestConfig implements Config { configRestSchema.validate({ allowed: 'strict' }); } catch (error) { this.logger.error('.env file is not valid', error as Error); - throw new Error("Can't validate config"); + throw new Error('Can\'t validate config'); } this.config = configRestSchema.getProperties();