Skip to content

Commit

Permalink
style: minor nit, use destructuring assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored and kormide committed May 3, 2022
1 parent 400ff18 commit 8f877b6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/create-bcr-entry.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ async function main(argv) {
process.exit(1);
}

const projectPath = argv[0];
const bcrPath = argv[1];
const ownerSlashRepo = argv[2];
const tag = argv[3];
const [projectPath, bcrPath, ownerSlashRepo, tag] = argv;
const version = getVersionFromTag(tag);

const moduleName = getModuleName(resolve(projectPath, "MODULE.bazel"));
Expand Down

0 comments on commit 8f877b6

Please sign in to comment.