mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-06-13 17:33:54 -07:00
build: Update built artifacts after linting fixes
- Rebuild dist/ with latest changes - Include updated provider loader in built bundle - Ensure all changes are reflected in compiled output
This commit is contained in:
+5
-5
@@ -4484,12 +4484,12 @@ async function loadProvider(providerName, buildParameters) {
|
||||
try {
|
||||
// Map provider names to their module paths for built-in providers
|
||||
const providerModuleMap = {
|
||||
'aws': './aws',
|
||||
'k8s': './k8s',
|
||||
'test': './test',
|
||||
aws: './aws',
|
||||
k8s: './k8s',
|
||||
test: './test',
|
||||
'local-docker': './docker',
|
||||
'local-system': './local',
|
||||
'local': './local'
|
||||
local: './local',
|
||||
};
|
||||
const modulePath = providerModuleMap[providerName] || providerName;
|
||||
importedModule = await Promise.resolve().then(() => __importStar(require(modulePath)));
|
||||
@@ -4516,7 +4516,7 @@ async function loadProvider(providerName, buildParameters) {
|
||||
];
|
||||
for (const method of requiredMethods) {
|
||||
if (typeof instance[method] !== 'function') {
|
||||
throw new Error(`Provider package '${providerName}' does not implement ProviderInterface. Missing method '${method}'.`);
|
||||
throw new TypeError(`Provider package '${providerName}' does not implement ProviderInterface. Missing method '${method}'.`);
|
||||
}
|
||||
}
|
||||
cloud_runner_logger_1.default.log(`Successfully loaded provider: ${providerName}`);
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user