feat(core): support cli tools inside mono repos.
This commit is contained in:
@@ -49,7 +49,7 @@ export class GiteaAssets {
|
||||
{
|
||||
headers: this.headers,
|
||||
method: 'GET',
|
||||
params: branch ? { ref: branch } : {},
|
||||
queryParams: branch ? { ref: branch } : {},
|
||||
}
|
||||
)
|
||||
if (!Array.isArray(response.body) && typeof response.body === 'object') {
|
||||
@@ -64,7 +64,7 @@ export class GiteaAssets {
|
||||
{
|
||||
headers: this.headers,
|
||||
method: 'GET',
|
||||
params: branch ? { ref: branch } : {},
|
||||
queryParams: branch ? { ref: branch } : {},
|
||||
}
|
||||
);
|
||||
entry.encoding = response2.body.encoding;
|
||||
|
Reference in New Issue
Block a user