Skip to content

Commit f0f37b5

Browse files
Merge pull request #89 from OpenZeppelin/chore/generate-doc
Clone on revision
2 parents 0f2bd29 + 5aeff9d commit f0f37b5

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)