Skip to content

fix: lintNoJsonInSrcPages is not a function#58

Merged
melissag-ensemble merged 1 commit intomainfrom
lint-no-json-check-not-a-function
Mar 24, 2026
Merged

fix: lintNoJsonInSrcPages is not a function#58
melissag-ensemble merged 1 commit intomainfrom
lint-no-json-check-not-a-function

Conversation

@melissag-ensemble
Copy link
Copy Markdown
Contributor

@melissag-ensemble melissag-ensemble commented Mar 24, 2026

Description

Fixes TypeError: lintNoJsonInSrcPages is not a function thrown during CI lint runs. lintNoJsonInSrcPages is a dynamic import, so the exported function must be accessed via .default.

Issue reported in support channel: https://adobeio.slack.com/archives/C01GU3V8XE0/p1774340111745139

Before

Screenshot 2026-03-24 at 7 05 42 AM

After

Screenshot 2026-03-24 at 7 11 53 AM

Test

AdobeDocs/adp-devsite-github-actions-test#122

@melissag-ensemble melissag-ensemble merged commit 7984962 into main Mar 24, 2026
1 check passed
@melissag-ensemble melissag-ensemble deleted the lint-no-json-check-not-a-function branch April 15, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants