Skip to content

Commit 5aeff9d

Browse files
Clone on revision
1 parent 0f2bd29 commit 5aeff9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/generate-api-docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async function generateApiDocs(options) {
102102
// Clone the contracts repository
103103
console.log("📦 Cloning contracts repository...");
104104
execSync(
105-
`git clone --depth 1 --branch "${contractsBranch}" --recurse-submodules "${contractsRepo}" "${tempDir}"`,
105+
`git clone --depth 1 --revision "${contractsBranch}" --recurse-submodules "${contractsRepo}" "${tempDir}"`,
106106
{
107107
stdio: "inherit",
108108
},

0 commit comments

Comments
 (0)