@tomingtoming/kioq 0.8.1 → 0.8.2
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.
|
@@ -116,7 +116,7 @@ export class GitHubStorage {
|
|
|
116
116
|
catch {
|
|
117
117
|
// .git not found — auto-clone below
|
|
118
118
|
}
|
|
119
|
-
const cloneUrl = `https://github.com/${this.githubConfig.owner}/${this.githubConfig.repo}.git`;
|
|
119
|
+
const cloneUrl = `https://x-access-token:${this.githubConfig.token}@github.com/${this.githubConfig.owner}/${this.githubConfig.repo}.git`;
|
|
120
120
|
try {
|
|
121
121
|
await fs.mkdir(path.dirname(this.rootPath), { recursive: true });
|
|
122
122
|
await this.execFileAsyncFn("git", ["clone", "--branch", this.branch, "--single-branch", cloneUrl, this.rootPath], { timeout: 120_000 });
|