SFDX projects not auto-detecting properly when using nested structure

Issue #1064 duplicate
Scott Wells repo owner created an issue

I just helped a user work around an issue with an SFDX project based on the following directory structure:

/path/to/projectRoot/
    .git/
    subfolder1/
        config/
        force-app/
        sfdx-project.json

Right now IC looks for sfdx-project.json under the common ancestor of all content roots, generally the project root. This is causing it to miss the one located under the sub-folder as a peer to the standard config and force-app (or whatever the package directories are named) folders.

IC needs to look up from the parents of source roots instead of starting with ancestors of content roots when trying to determine whether a project is an SFDX project based on the presence or absence of sfdx-project.json.

Comments (2)

  1. Log in to comment