@blogic-cz/agent-tools 0.14.25 → 0.14.26
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/src/gh-tool/service.ts +2 -1
package/package.json
CHANGED
package/src/gh-tool/service.ts
CHANGED
|
@@ -223,12 +223,13 @@ export class GitHubService extends Context.Service<
|
|
|
223
223
|
return cachedRepoInfo;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
+
const repoArgs = ghRepo ? [ghRepo] : [];
|
|
226
227
|
const result = yield* runGhJson<{
|
|
227
228
|
owner: { login: string };
|
|
228
229
|
name: string;
|
|
229
230
|
defaultBranchRef: { name: string };
|
|
230
231
|
url: string;
|
|
231
|
-
}>(["repo", "view", "--json", "owner,name,defaultBranchRef,url"]);
|
|
232
|
+
}>(["repo", "view", ...repoArgs, "--json", "owner,name,defaultBranchRef,url"]);
|
|
232
233
|
|
|
233
234
|
const repoInfo: RepoInfo = {
|
|
234
235
|
owner: result.owner.login,
|