fix module ref

pull/419/head
Frostebite 2022-08-28 23:34:52 +01:00
parent cc48457486
commit 8e194cb56c
3 changed files with 9 additions and 9 deletions

14
dist/index.js vendored
View File

@ -4042,14 +4042,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.CloudRunnerFolders = void 0;
const path_1 = __importDefault(__nccwpck_require__(71017));
const __1 = __nccwpck_require__(41359);
const cloud_runner_1 = __importDefault(__nccwpck_require__(79144));
class CloudRunnerFolders {
// Only the following paths that do not start a path.join with another "Full" suffixed property need to start with an absolute /
static get uniqueCloudRunnerJobFolderAbsolute() {
return path_1.default.join(`/`, CloudRunnerFolders.buildVolumeFolder, __1.CloudRunner.buildParameters.buildGuid);
return path_1.default.join(`/`, CloudRunnerFolders.buildVolumeFolder, cloud_runner_1.default.buildParameters.buildGuid);
}
static get cacheFolderFull() {
return path_1.default.join('/', CloudRunnerFolders.buildVolumeFolder, CloudRunnerFolders.cacheFolder, __1.CloudRunner.buildParameters.cacheKey);
return path_1.default.join('/', CloudRunnerFolders.buildVolumeFolder, CloudRunnerFolders.cacheFolder, cloud_runner_1.default.buildParameters.cacheKey);
}
static get builderPathAbsolute() {
return path_1.default.join(CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute, `builder`);
@ -4058,13 +4058,13 @@ class CloudRunnerFolders {
return path_1.default.join(CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute, CloudRunnerFolders.repositoryFolder);
}
static get projectPathAbsolute() {
return path_1.default.join(CloudRunnerFolders.repoPathAbsolute, __1.CloudRunner.buildParameters.projectPath);
return path_1.default.join(CloudRunnerFolders.repoPathAbsolute, cloud_runner_1.default.buildParameters.projectPath);
}
static get libraryFolderAbsolute() {
return path_1.default.join(CloudRunnerFolders.projectPathAbsolute, `Library`);
}
static get projectBuildFolderAbsolute() {
return path_1.default.join(CloudRunnerFolders.repoPathAbsolute, __1.CloudRunner.buildParameters.buildPath);
return path_1.default.join(CloudRunnerFolders.repoPathAbsolute, cloud_runner_1.default.buildParameters.buildPath);
}
static get lfsFolderAbsolute() {
return path_1.default.join(CloudRunnerFolders.repoPathAbsolute, `.git`, `lfs`);
@ -4079,10 +4079,10 @@ class CloudRunnerFolders {
return path_1.default.join(CloudRunnerFolders.cacheFolderFull, `Library`);
}
static get unityBuilderRepoUrl() {
return `https://${__1.CloudRunner.buildParameters.gitPrivateToken}@github.com/game-ci/unity-builder.git`;
return `https://${cloud_runner_1.default.buildParameters.gitPrivateToken}@github.com/game-ci/unity-builder.git`;
}
static get targetBuildRepoUrl() {
return `https://${__1.CloudRunner.buildParameters.gitPrivateToken}@github.com/${__1.CloudRunner.buildParameters.githubRepo}.git`;
return `https://${cloud_runner_1.default.buildParameters.gitPrivateToken}@github.com/${cloud_runner_1.default.buildParameters.githubRepo}.git`;
}
static get buildVolumeFolder() {
return 'data';

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
import path from 'path';
import { CloudRunner } from '../..';
import CloudRunner from './../cloud-runner';
export class CloudRunnerFolders {
public static readonly repositoryFolder = 'repo';