@danypops/papyrus 0.60.5 → 0.60.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -235,6 +235,5 @@ function evaluatePredicate(predicate: ActivationPredicate, context: ActivationCo
|
|
|
235
235
|
|
|
236
236
|
export function evaluateActivation(config: ActivationConfig, context: ActivationContext): ActivationDecision {
|
|
237
237
|
if (config.invalid) return { enabled: false, reason: "invalid activation configuration" };
|
|
238
|
-
if (config.injection === "on-demand") return { enabled: false, reason: "activation injection profile is on-demand" };
|
|
239
238
|
return config.predicate === undefined ? { enabled: true, reason: "enabled" } : evaluatePredicate(config.predicate, context);
|
|
240
239
|
}
|