Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update rimraf imports to fix eslint warnings #5518

Merged
merged 1 commit into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {expect} from "chai";
import rimraf from "rimraf";
import {rimraf} from "rimraf";
import sinon from "sinon";
import {ssz} from "@lodestar/types";
import {config} from "@lodestar/config/default";
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/test/e2e/importFromFsDirect.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from "node:fs";
import path from "node:path";
import rimraf from "rimraf";
import {rimraf} from "rimraf";
import {testFilesDir} from "../utils.js";
import {describeCliTest} from "../utils/childprocRunner.js";
import {getAfterEachCallbacks} from "../utils/runUtils.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/test/e2e/importFromFsPreStep.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from "node:fs";
import path from "node:path";
import rimraf from "rimraf";
import {rimraf} from "rimraf";
import {expect} from "chai";
import {testFilesDir} from "../utils.js";
import {describeCliTest, execCli} from "../utils/childprocRunner.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/test/e2e/importKeystoresFromApi.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from "node:path";
import rimraf from "rimraf";
import {rimraf} from "rimraf";
import {expect} from "chai";
import {DeletionStatus, getClient, ImportStatus} from "@lodestar/api/keymanager";
import {config} from "@lodestar/config/default";
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/test/e2e/importRemoteKeysFromApi.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from "node:path";
import rimraf from "rimraf";
import {rimraf} from "rimraf";
import {expect} from "chai";
import {Api, DeleteRemoteKeyStatus, getClient, ImportRemoteKeyStatus} from "@lodestar/api/keymanager";
import {config} from "@lodestar/config/default";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from "node:path";
import rimraf from "rimraf";
import {rimraf} from "rimraf";
import {Interchange} from "@lodestar/validator";
import {ApiError} from "@lodestar/api";
import {testFilesDir} from "../utils.js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from "node:fs";
import path from "node:path";
import rimraf from "rimraf";
import {rimraf} from "rimraf";
import {expect} from "chai";
import {cachedSeckeysHex} from "../../utils/cachedKeys.js";
import {getKeystoresStr} from "../../utils/keystores.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/spec-test-util/src/downloadTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import fs from "node:fs";
import path from "node:path";
import stream from "node:stream";
import {promisify} from "node:util";
import rimraf from "rimraf";
import {rimraf} from "rimraf";
import axios from "axios";
import tar from "tar";
import retry from "async-retry";
Expand Down