Skip to content

Commit 8d58661

Browse files
committed
fix: format deployment ID parsing for better readability
1 parent 3f02f60 commit 8d58661

File tree

1 file changed

+4
-3
lines changed
  • packages/sharing-smart-contract/scripts

1 file changed

+4
-3
lines changed

packages/sharing-smart-contract/scripts/deploy.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ const { ethers, upgrades } = hre;
77
// Parse command line arguments
88
const args = process.argv.slice(2);
99
const deploymentIdIndex = args.indexOf('--deployment-id');
10-
const deploymentId = deploymentIdIndex !== -1 && deploymentIdIndex + 1 < args.length
11-
? args[deploymentIdIndex + 1]
12-
: undefined;
10+
const deploymentId =
11+
deploymentIdIndex !== -1 && deploymentIdIndex + 1 < args.length
12+
? args[deploymentIdIndex + 1]
13+
: undefined;
1314

1415
/**
1516
* This script deploys DataProtectorSharing contract and its dependencies using

0 commit comments

Comments
 (0)