Skip to content

Commit

Permalink
fix(Variables): Improve properties resolution validation
Browse files Browse the repository at this point in the history
So it ensures they're ready for internal handling
  • Loading branch information
medikoo committed Jun 11, 2021
1 parent 2d3bfac commit 727d7f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/serverless.js
Expand Up @@ -364,11 +364,12 @@ const processSpanPromise = (async () => {
if (!variablesMeta.size) return; // All properties successuflly resolved

if (!ensureResolvedProperty('plugins')) return;
if (!ensureResolvedProperty('package\0path')) return;

if (!ensureResolvedProperty('frameworkVersion')) return;
if (!ensureResolvedProperty('configValidationMode')) return;
if (!ensureResolvedProperty('app')) return;
if (!ensureResolvedProperty('org')) return;
if (!ensureResolvedProperty('tenant')) return;
if (!ensureResolvedProperty('service', { shouldSilentlyReturnIfLegacyMode: true })) {
return;
}
Expand Down

0 comments on commit 727d7f4

Please sign in to comment.