Skip to content

Commit

Permalink
chore: pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Oct 2, 2023
1 parent c73fadf commit 368f0b0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import {CLIError, error, exit, warn} from '../errors'
import {Debug, collectUsableIds, getCommandIdPermutations} from './util'
import {Hook, Hooks, PJSON, Topic} from '../interfaces'
import {Plugin as IPlugin, Options} from '../interfaces/plugin'
import { OCLIF_MARKER_OWNER, Performance } from '../performance'
import {URL, fileURLToPath} from 'node:url'
import {arch, userInfo as osUserInfo, release, tmpdir, type} from 'node:os'
import {compact, isProd} from '../util/util'
import {getHomeDir, getPlatform} from '../util/os'
import { join, sep } from 'node:path'
import { OCLIF_MARKER_OWNER, Performance } from '../performance'
import {Command} from '../command'
import PluginLoader from './plugin-loader'
import WSL from 'is-wsl'
Expand Down
2 changes: 1 addition & 1 deletion src/config/plugin-loader.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as Plugin from './plugin'
import {Plugin as IPlugin, Options} from '../interfaces/plugin'
import {OCLIF_MARKER_OWNER, Performance} from '../performance'
import {Debug} from './util'
import {PJSON} from '../interfaces'
import {OCLIF_MARKER_OWNER, Performance} from '../performance'
import {isProd} from '../util/util'
import {join} from 'node:path'
import {readJson} from '../util/fs'
Expand Down
3 changes: 1 addition & 2 deletions src/config/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import {CLIError, error} from '../errors'
import {Debug, getCommandIdPermutations, resolvePackage} from './util'
import {Plugin as IPlugin, PluginOptions} from '../interfaces/plugin'
import {OCLIF_MARKER_OWNER, Performance} from '../performance'
import {compact, isProd, mapValues} from '../util/util'
import {dirname, join, parse, relative, sep} from 'node:path'
import {exists, readJson, requireJson} from '../util/fs'
import {loadWithData, loadWithDataFromManifest} from '../module-loader'
// eslint-disable-next-line sort-imports
import {OCLIF_MARKER_OWNER, Performance} from '../performance'
import {Command} from '../command'
import {Manifest} from '../interfaces/manifest'
import {PJSON} from '../interfaces/pjson'
Expand Down
3 changes: 1 addition & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import * as Interfaces from './interfaces'
import {OCLIF_MARKER_OWNER, Performance} from './performance'
import {URL, fileURLToPath} from 'node:url'
import {format, inspect} from 'node:util'
import {getHelpFlagAdditions, loadHelpClass, normalizeArgv} from './help'
// eslint-disable-next-line sort-imports
import {OCLIF_MARKER_OWNER, Performance} from './performance'
import {Config} from './config'
import {stdout} from './cli-ux/stream'

Expand Down

0 comments on commit 368f0b0

Please sign in to comment.