Skip to content

Commit 8f877b6

Browse files
alexeaglekormide
authored andcommitted
style: minor nit, use destructuring assignment
1 parent 400ff18 commit 8f877b6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/create-bcr-entry.mjs

+1-4
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ async function main(argv) {
3232
process.exit(1);
3333
}
3434

35-
const projectPath = argv[0];
36-
const bcrPath = argv[1];
37-
const ownerSlashRepo = argv[2];
38-
const tag = argv[3];
35+
const [projectPath, bcrPath, ownerSlashRepo, tag] = argv;
3936
const version = getVersionFromTag(tag);
4037

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

0 commit comments

Comments
 (0)