From 146ff625a0d919b1a829d2c71df23fb6031f2d5d Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sun, 7 Nov 2021 18:14:02 -0800 Subject: [PATCH] Reformat imports --- src/blobs/copy.ts | 2 +- src/blobs/entry.ts | 2 -- src/blobs/file_list.ts | 2 +- src/build/soong.ts | 1 - src/commands/download.ts | 6 +++--- src/commands/extract.ts | 4 ++-- src/commands/list-files.ts | 4 ++-- src/index.ts | 2 +- 8 files changed, 10 insertions(+), 13 deletions(-) diff --git a/src/blobs/copy.ts b/src/blobs/copy.ts index 68a3cd2..92d2521 100644 --- a/src/blobs/copy.ts +++ b/src/blobs/copy.ts @@ -1,4 +1,4 @@ -import {promises as fs} from 'fs' +import { promises as fs } from 'fs' import * as path from 'path' import * as chalk from 'chalk' import * as ora from 'ora' diff --git a/src/blobs/entry.ts b/src/blobs/entry.ts index 3337284..88fd71c 100644 --- a/src/blobs/entry.ts +++ b/src/blobs/entry.ts @@ -1,5 +1,3 @@ -import * as path from 'path' - import { EXT_PARTITIONS } from '../partitions'; export interface BlobEntry { diff --git a/src/blobs/file_list.ts b/src/blobs/file_list.ts index e2a142d..02da84a 100644 --- a/src/blobs/file_list.ts +++ b/src/blobs/file_list.ts @@ -1,4 +1,4 @@ -import {promises as fs} from 'fs' +import { promises as fs } from 'fs' import * as path from 'path' import * as chalk from 'chalk' import * as ora from 'ora' diff --git a/src/build/soong.ts b/src/build/soong.ts index b9d3d19..558083f 100644 --- a/src/build/soong.ts +++ b/src/build/soong.ts @@ -1,4 +1,3 @@ -import * as path from 'path' import * as util from 'util' import { BlobEntry, partPathToSrcPath } from '../blobs/entry' diff --git a/src/commands/download.ts b/src/commands/download.ts index c12cd53..12750c1 100644 --- a/src/commands/download.ts +++ b/src/commands/download.ts @@ -1,9 +1,9 @@ -import {Command, flags} from '@oclif/command' -import {createWriteStream, promises as fs} from 'fs' +import { Command, flags } from '@oclif/command' +import { createWriteStream, promises as fs } from 'fs' import * as chalk from 'chalk' import * as cliProgress from 'cli-progress' import fetch from 'node-fetch' -import {promises as stream} from 'stream' +import { promises as stream } from 'stream' import * as path from 'path' const VENDOR_INDEX_URL = 'https://developers.google.com/android/drivers' diff --git a/src/commands/extract.ts b/src/commands/extract.ts index b56b028..7db2d59 100644 --- a/src/commands/extract.ts +++ b/src/commands/extract.ts @@ -1,5 +1,5 @@ -import {Command, flags} from '@oclif/command' -import {promises as fs} from 'fs' +import { Command, flags } from '@oclif/command' +import { promises as fs } from 'fs' import * as chalk from 'chalk' import { serializeBlueprint } from '../build/soong' diff --git a/src/commands/list-files.ts b/src/commands/list-files.ts index 9652235..e35286e 100644 --- a/src/commands/list-files.ts +++ b/src/commands/list-files.ts @@ -1,5 +1,5 @@ -import {Command, flags} from '@oclif/command' -import {promises as fs} from 'fs' +import { Command, flags } from '@oclif/command' +import { promises as fs } from 'fs' import { listPart } from '../blobs/file_list' import { ALL_PARTITIONS } from '../partitions' diff --git a/src/index.ts b/src/index.ts index 4caa481..088abcf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1 +1 @@ -export {run} from '@oclif/command' +export { run } from '@oclif/command'