From bac027b145e926afb0e59265174b7efab295da2a Mon Sep 17 00:00:00 2001 From: kabeep Date: Wed, 8 May 2024 18:18:51 +0800 Subject: [PATCH] style: import line break --- src/pipeline/after.ts | 1 - src/pipeline/before.ts | 3 +-- src/pipeline/index.ts | 1 - src/pipeline/run.ts | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pipeline/after.ts b/src/pipeline/after.ts index 620ac8c..9373619 100644 --- a/src/pipeline/after.ts +++ b/src/pipeline/after.ts @@ -1,5 +1,4 @@ import type { TranslationOption } from '@kabeep/node-translate'; - import type { ArgumentVector } from '../shared/index.js'; import { getColumns, Polysemy, Sentence, Source, Synonym, Translation } from '../utils/index.js'; diff --git a/src/pipeline/before.ts b/src/pipeline/before.ts index 24a17ec..98e23a5 100644 --- a/src/pipeline/before.ts +++ b/src/pipeline/before.ts @@ -1,7 +1,6 @@ -import { iso6391X } from '@kabeep/node-translate'; import process from 'node:process'; +import { iso6391X } from '@kabeep/node-translate'; import ora from 'ora'; - import { locale } from '../index.js'; import type { ArgumentVector } from '../shared/index.js'; import { Adaptive, Code, Language } from '../utils/index.js'; diff --git a/src/pipeline/index.ts b/src/pipeline/index.ts index 3bab927..cea8da4 100644 --- a/src/pipeline/index.ts +++ b/src/pipeline/index.ts @@ -1,5 +1,4 @@ import ora from 'ora'; - import { boundary } from '../helpers/index.js'; import { locale } from '../index.js'; import type { ArgumentVector } from '../shared/index.js'; diff --git a/src/pipeline/run.ts b/src/pipeline/run.ts index 20faf1f..8420033 100644 --- a/src/pipeline/run.ts +++ b/src/pipeline/run.ts @@ -1,5 +1,4 @@ import translate, { type TranslateOptions } from '@kabeep/node-translate'; - import { locale } from '../index.js'; async function run(text: string, options: Omit) {