diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 6980f96..573d159 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -4,7 +4,7 @@ on: [pull_request] jobs: pull_request: - uses: MapColonies/shared-workflows/.github/workflows/pull_request.yaml@v5 + uses: MapColonies/shared-workflows/.github/workflows/pull_request.yaml@v5.1.0 secrets: inherit with: openApiFilePath: './bundledApi.yaml' diff --git a/src/providers/baseProvider.ts b/src/providers/baseProvider.ts index 911e10d..0ebe175 100644 --- a/src/providers/baseProvider.ts +++ b/src/providers/baseProvider.ts @@ -34,7 +34,7 @@ export abstract class BaseProvider implements Prov let initialPath = pathToTileset; if (!initialPath.endsWith(this.crawlingExtension)) { initialPath = Path.join(initialPath, `tileset${this.crawlingExtension}`); - + initialPath = initialPath.replace(/\\/g, '/').replace(/^\//, ''); } diff --git a/src/providers/getProvider.ts b/src/providers/getProvider.ts index f7a6625..b54056e 100644 --- a/src/providers/getProvider.ts +++ b/src/providers/getProvider.ts @@ -22,7 +22,7 @@ function getProviderConfig(provider: string): ProviderConfig { const providerConfig: ProviderConfig = config.get(provider); const crawlingConfig: BaseProviderConfig = config.get('crawling'); const fullConfig = { ...providerConfig, ...crawlingConfig }; - + return fullConfig; } catch (err) { throw new AppError(