Skip to content

Commit 10bdeac

Browse files
Seulgi Kimkseo
authored andcommitted
Remove unused imports
And it changes code to use ES6 style import statements instead of require.
1 parent 30b4c74 commit 10bdeac

File tree

5 files changed

+1
-7
lines changed

5 files changed

+1
-7
lines changed

src/command/create.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import * as _ from "lodash";
2-
31
import { Context } from "../types";
42
import { getAddressFromKey } from "../util";
53

src/command/delete.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import * as _ from "lodash";
2-
31
import { CLIError, CLIErrorType } from "../error";
42
import { Context } from "../types";
53
import { findMatchingKey } from "../util";

src/command/import.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { SecretStorage } from "codechain-keystore";
2-
import * as _ from "lodash";
32

43
import { Context } from "../types";
54
import { getAddressFromKey } from "../util";

src/command/importRaw.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { PrivateKey } from "codechain-keystore/lib/types";
2-
import * as _ from "lodash";
32

43
import { Context } from "../types";
54
import { getAddressFromKey } from "../util";

src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Key } from "codechain-keystore/lib/types";
22
import { AssetTransferAddress, PlatformAddress } from "codechain-primitives";
3-
import _ = require("lodash");
3+
import * as _ from "lodash";
44

55
import { CLIError, CLIErrorType } from "./error";
66
import { AccountType } from "./types";

0 commit comments

Comments
 (0)