Skip to content

Commit 250afdc

Browse files
committed
remove old sdk
1 parent e64cf3e commit 250afdc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

scripts/dependencies.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
export * from "https://deno.land/x/[email protected]/mod.ts";
2-
export { exists } from "https://deno.land/x/[email protected]/mod.ts";

scripts/services/action.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { util, exists, types as T } from "../dependencies.ts";
1+
import { util, types as T } from "../dependencies.ts";
22

33
export const action = {
44
async "delete-txindex"(
@@ -31,13 +31,13 @@ export const action = {
3131
},
3232
async "delete-peers"(
3333
effect: T.Effects,
34-
_input?: T.Config,
34+
_input?: T.Config
3535
): Promise<T.ResultType<T.ActionResult>> {
3636
const peersLocation = {
3737
path: "peers.dat",
3838
volumeId: "main",
3939
};
40-
if (await exists(effect, peersLocation) === false) {
40+
if ((await util.exists(effect, peersLocation)) === false) {
4141
return {
4242
result: {
4343
copyable: false,

0 commit comments

Comments
 (0)