Skip to content

Commit

Permalink
style: rearranged imports
Browse files Browse the repository at this point in the history
  • Loading branch information
vvagaytsev committed May 9, 2022
1 parent b59f917 commit 4402f36
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
19 changes: 9 additions & 10 deletions core/src/vcs/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,28 @@

import { performance } from "perf_hooks"
import FilterStream from "streamfilter"
import { join, resolve, relative, isAbsolute, posix } from "path"
import { isAbsolute, join, posix, relative, resolve } from "path"
import { flatten, isString } from "lodash"
import { ensureDir, pathExists, createReadStream, Stats, realpath, readlink, lstat, stat } from "fs-extra"
import { Transform } from "stream"
import split2 = require("split2")
import { VcsHandler, RemoteSourceParams, VcsFile, GetFilesParams, VcsInfo } from "./vcs"
import { createReadStream, ensureDir, lstat, pathExists, readlink, realpath, stat, Stats } from "fs-extra"
import { PassThrough, Transform } from "stream"
import { GetFilesParams, RemoteSourceParams, VcsFile, VcsHandler, VcsInfo } from "./vcs"
import { ConfigurationError, RuntimeError } from "../exceptions"
import Bluebird from "bluebird"
import { getStatsType, joinWithPosix, matchPath } from "../util/fs"
import { deline } from "../util/string"
import { splitLast, exec } from "../util/util"
import { exec, splitLast } from "../util/util"
import { LogEntry } from "../logger/log-entry"
import parseGitConfig from "parse-git-config"
import { getDefaultProfiler, Profile, Profiler } from "../util/profiling"
import { SortedStreamIntersection } from "../util/streams"
import { mapLimit } from "async"
import { TreeCache } from "../cache"
import { STATIC_DIR } from "../constants"
import split2 = require("split2")
import execa = require("execa")
import isGlob = require("is-glob")
import chalk = require("chalk")
import { mapLimit } from "async"
import { PassThrough } from "stream"
import hasha = require("hasha")
import { TreeCache } from "../cache"
import { STATIC_DIR } from "../constants"

const submoduleErrorSuggestion = `Perhaps you need to run ${chalk.underline(`git submodule update --recursive`)}?`
const hashConcurrencyLimit = 50
Expand Down
6 changes: 3 additions & 3 deletions core/test/unit/src/vcs/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
import execa = require("execa")
import { expect } from "chai"
import tmp from "tmp-promise"
import { createFile, writeFile, realpath, mkdir, remove, symlink, ensureSymlink, lstat } from "fs-extra"
import { join, resolve, basename, relative } from "path"
import { createFile, ensureSymlink, lstat, mkdir, realpath, remove, symlink, writeFile } from "fs-extra"
import { basename, join, relative, resolve } from "path"

import { expectError, makeTestGardenA, TestGarden } from "../../../helpers"
import { getCommitIdFromRefList, parseGitUrl, GitHandler } from "../../../../src/vcs/git"
import { getCommitIdFromRefList, GitHandler, parseGitUrl } from "../../../../src/vcs/git"
import { LogEntry } from "../../../../src/logger/log-entry"
import { hashRepoUrl } from "../../../../src/util/ext-source-util"
import { deline } from "../../../../src/util/string"
Expand Down

0 comments on commit 4402f36

Please sign in to comment.