Skip to content

fix: respect pre-set MONDAY_CODE_* env vars over .mappsrc values - #176

Draft
ChaitanyaRangu wants to merge 1 commit into
mondaycom:masterfrom
ChaitanyaRangu:fix/issue-155
Draft

ChaitanyaRangu wants to merge 1 commit into
mondaycom:masterfrom
ChaitanyaRangu:fix/issue-155

Conversation

@ChaitanyaRangu

Copy link
Copy Markdown

Fixes #155

Env vars already set (e.g. MONDAY_CODE_ACCESS_TOKEN) are no longer overwritten by .mappsrc when the init hook loads config. mapps init still force-sets the token it was given.

Tests: new src/services/__tests__/config-service.test.ts (the precedence test fails without the fix). Ran lint (no errors), build, full jest.

AI assistance: this change was written with Claude Code (Claude Sonnet 5.5) and reviewed/run by the submitter's tooling; no separate human review was done before this draft.

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.

.mappsrc config file overwrites pre-existing environment variables

1 participant