Skip to content

Commit

Permalink
Merge pull request #278 from ardriveapp/PE-1438_release_1.13.1
Browse files Browse the repository at this point in the history
PE-1438: Release ArDrive CLI v1.13.1
  • Loading branch information
fedellen authored May 5, 2022
2 parents 537e57c + 75317f6 commit 7bf842a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ardrive-cli",
"version": "1.13.0",
"version": "1.13.1",
"description": "The ArDrive Command Line Interface (CLI is a Node.js application for terminal-based ArDrive workflows. It also offers utility operations for securely interacting with Arweave wallets and inspecting various Arweave blockchain conditions.",
"main": "./lib/index.js",
"bin": {
Expand Down
6 changes: 2 additions & 4 deletions src/commands/upload_file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
LocalFilePathParameter_DEPRECATED,
LocalFilesParameter_DEPRECATED,
ParentFolderIdParameter,
WalletFileParameter,
LocalPathParameter,
LocalCSVParameter,
GatewayParameter,
Expand All @@ -26,7 +25,6 @@ import {
DriveKey,
wrapFileOrFolder,
EID,
readJWKFile,
EntityKey,
ArDriveUploadStats
} from 'ardrive-core-js';
Expand Down Expand Up @@ -162,15 +160,15 @@ new CLICommand({
return getSingleFile(parameters, parentFolderId);
})();
if (filesToUpload.length) {
const wallet = parameters.getRequiredParameterValue(WalletFileParameter, readJWKFile);
const wallet = await parameters.getRequiredWallet();

const conflictResolution = parameters.getFileNameConflictResolution();
const shouldBundle = !!parameters.getParameterValue(ShouldBundleParameter);

const arweave = getArweaveFromURL(parameters.getGateway());

const arDrive = cliArDriveFactory({
wallet: wallet,
wallet,
feeMultiple: parameters.getOptionalBoostSetting(),
dryRun: parameters.isDryRun(),
shouldBundle,
Expand Down

0 comments on commit 7bf842a

Please sign in to comment.