Skip to content

Commit 2f47dd0

Browse files
committed
Change import style of fetch-blob
1 parent 48419af commit 2f47dd0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"cookie-session": "^2.0.0",
2626
"cross-fetch": "^3.1.5",
2727
"express": "^4.17.3",
28+
"fetch-blob": "^2.1.1",
2829
"form-urlencoded": "^6.0.6",
2930
"getmac": "^5.20.0",
3031
"http-link-header": "^1.0.4",

src/commands/solid-copy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import fs from 'fs'
22
import path from 'path'
3-
import { getFile, overwriteFile, getContentType, getContainedResourceUrlAll, getSolidDataset, createContainerAt } from "@inrupt/solid-client"
3+
import { getFile, getContentType, createContainerAt } from "@inrupt/solid-client"
44
import { isRemote, isDirectory, FileInfo, ensureDirectoryExistence, fixLocalPath, readRemoteDirectoryRecursively, checkRemoteFileExists, writeErrorString } from '../utils/util';
5-
import Blob = require("fetch-blob")
5+
import Blob from 'fetch-blob'
66
import { requestUserCLIConfirmation } from '../utils/userInteractions';
77
import BashlibError from '../utils/errors/BashlibError';
88
import { BashlibErrorMessage } from '../utils/errors/BashlibError';

0 commit comments

Comments
 (0)