App.getAppPath() returning default-app path for files or directories without package.json
fix: app.getAppPath() returning default-app path for files or directories without package.json (#18763)
App.getAppPath() returning default-app path for files or directories without package.json79f0c4-fix-app-getapppath-returning-default-app-path-forfixapp getapppath returning default path files
Committed by miniak
commit message
fix: app.getAppPath() returning default-app path for files or directories without package.json (#18763)Editor assessment
The subject states the defect precisely: app.getAppPath returned the default-app path for files or directories lacking a package.json. The fix type is right, and the absent scope is tolerable. No body is present, which is acceptable because the subject names the API, the faulty input condition, and the wrong output completely, leaving nothing for a diff to clarify. The PR reference is well-formed. Imperative mood, no trailing period, long but information-dense subject. A precise, self-sufficient bugfix message.