Skip to content

Commit 3b622c4

Browse files
Merge pull request #3379 from SalesforceCommerceCloud/t/commerce/spark/W-19840602/fixnodemodulespath
@W-19840602 - Bug Fix for paths
2 parents 83c0bb7 + 3fbe03f commit 3b622c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/pwa-kit-mcp/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## v0.4.0-dev (Sep 26, 2025)
2-
- Unexposed the extra parameters on create_page tool. [#3359] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3359)
2+
- Unexposed the extra parameters on create_page tool. [#3359] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3359), [#3379] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3379)
33
- Added Agent Guidelines. [#3366](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3366)
44

55
## v0.3.0 (Sep 25, 2025)

packages/pwa-kit-mcp/src/utils/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ export async function detectWorkspacePaths() {
209209
const pagesPath = path.join(appPath, 'pages')
210210
const componentsPath = path.join(appPath, 'components')
211211
const routesPath = path.join(appPath, 'routes.jsx')
212-
const nodeModulesPath = path.join(appPath, '..', 'node_modules')
213-
const hasOverridesDir = fs.existsSync(path.join(appPath, '..', 'overrides'))
212+
const nodeModulesPath = path.join(appPath, '../../', 'node_modules')
213+
const hasOverridesDir = fs.existsSync(path.join(appPath, '../../', 'overrides'))
214214

215215
// Verify essential directories exist
216216
if (!fs.existsSync(pagesPath)) {

0 commit comments

Comments
 (0)