fix: test workflow
This commit is contained in:
@@ -22,7 +22,9 @@ jobs:
|
||||
uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
commit: --no-verify
|
||||
push: --force
|
||||
message: 'fix: resolve linter errors'
|
||||
committer_name: GitHub Actions
|
||||
committer_email: actions@github.com
|
||||
test:
|
||||
needs: lint
|
||||
name: test
|
||||
@@ -86,6 +88,8 @@ jobs:
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.ACTIONS_PAT }}
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
@@ -98,3 +102,6 @@ jobs:
|
||||
uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
commit: --no-verify
|
||||
message: 'fix: resolve formatting errors'
|
||||
committer_name: GitHub Actions
|
||||
committer_email: actions@github.com
|
||||
|
||||
@@ -10,7 +10,7 @@ import { ApiResponseFactory } from './ApiResponseFactory';
|
||||
import { DataFormat } from '../enums/DataFormat';
|
||||
import { ReportDataType } from '../enums/ReportDataType';
|
||||
import { Record } from './Record';
|
||||
import { type ApiResponse } from './ApiResponse';
|
||||
import { ApiResponse } from './ApiResponse';
|
||||
import { type GetPagedAppsResponse } from './GetPagedAppsResponse';
|
||||
import { type App } from './App';
|
||||
import { type CollectionResponse } from './CollectionResponse';
|
||||
@@ -49,11 +49,7 @@ export class OnspringClient {
|
||||
* @throws {Error} - Thrown when the apiKey is null/undefined/empty/whitespace.
|
||||
* @returns {OnspringClient} - A new instance of the OnspringClient class.
|
||||
*/
|
||||
constructor(
|
||||
baseUrl: string | undefined | null,
|
||||
apiKey: string | undefined | null,
|
||||
config: CreateAxiosDefaults = {}
|
||||
) {
|
||||
constructor(baseUrl: string | undefined | null, apiKey: string | undefined | null, config: CreateAxiosDefaults = {}) {
|
||||
if (ArgumentValidator.isValidUrl(baseUrl) === false || baseUrl === null) {
|
||||
throw new Error('baseUrl must be an absolute and well-formed URI.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user