mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-27 07:50:47 +00:00
930cf6633c
fix: Additional vi.mock path corrections and prettier formatting
19 lines
385 B
TypeScript
19 lines
385 B
TypeScript
import { HttpBase } from './http.ts';
|
|
import type { HttpOptions } from './types.ts';
|
|
|
|
let baseUrl: string;
|
|
|
|
export function setBaseUrl(url: string): void {
|
|
baseUrl = url;
|
|
}
|
|
|
|
export class JiraHttp extends HttpBase {
|
|
protected override get baseUrl(): string | undefined {
|
|
return baseUrl;
|
|
}
|
|
|
|
constructor(type = 'jira', options?: HttpOptions) {
|
|
super(type, options);
|
|
}
|
|
}
|