Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions packages/contentstack/src/hooks/prerun/plan-guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ export default async function (opts: { Command?: { id?: string }; argv?: string[

if (!canCheckNow) {
config.context.planCheckRequired = requiredFeatures;
log.debug(
`[plan-guard] Deferred plan check for: ${requiredFeatures.join(', ')} — credentials not resolvable at prerun`,
{ module: 'plan-guard', commandId },
);
return;
}

Expand All @@ -75,7 +71,6 @@ export default async function (opts: { Command?: { id?: string }; argv?: string[
for (const featureUid of requiredFeatures) {
try {
planStatus[featureUid] = await isFeatureEnabled(featureUid, ctx);
log.debug(`[plan-guard] Feature "${featureUid}" status fetched.`, { module: 'plan-guard', commandId });
} catch (error) {
log.warn(`[plan-guard] Could not fetch status for "${featureUid}": ${(error as Error).message}`, {
module: 'plan-guard',
Expand Down
Loading