citeclaw 2.0.5 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/botcite.js +2 -1
package/package.json
CHANGED
package/scripts/botcite.js
CHANGED
|
@@ -612,6 +612,7 @@ function ensureDefaultZoteroSource() {
|
|
|
612
612
|
throw new Error( 'git is required to update bundled zotero source' );
|
|
613
613
|
}
|
|
614
614
|
runCommandOrThrow( 'git', [ '-C', zoteroDir, 'pull', '--ff-only' ] );
|
|
615
|
+
runCommandOrThrow( 'git', [ '-C', zoteroDir, 'submodule', 'update', '--init', '--recursive' ] );
|
|
615
616
|
}
|
|
616
617
|
return;
|
|
617
618
|
}
|
|
@@ -621,7 +622,7 @@ function ensureDefaultZoteroSource() {
|
|
|
621
622
|
);
|
|
622
623
|
}
|
|
623
624
|
fs.mkdirSync( path.dirname( zoteroDir ), { recursive: true } );
|
|
624
|
-
runCommandOrThrow( 'git', [ 'clone', '--depth', '1', defaultZoteroGitSource, zoteroDir ] );
|
|
625
|
+
runCommandOrThrow( 'git', [ 'clone', '--depth', '1', '--recurse-submodules', defaultZoteroGitSource, zoteroDir ] );
|
|
625
626
|
}
|
|
626
627
|
|
|
627
628
|
function bootstrapLocalEnvironment() {
|