Sfdx-git-delta: New PathAssistant Not detected

Created on 15 Jul 2021  路  4Comments  路  Source: scolladon/sfdx-git-delta

When you add new PathAssistant, in 'force-app/main/default/pathAssistant/' folder, the changes is not detected from the delta tool.

Step to reproduce:

  1. create the fodler 'force-app/main/default/pathAssistant/' if not exist
  2. create a file named 'Test.pathAssistant-meta.xml'
    ```

    true
    Order
    Status
    Test
    __MASTER__
3. Commit the new file 'Test.pathAssistant-meta.xml'
4. Run the command 'sfdx sgd:source:delta --to HEAD --from HEAD^ --output delta'
5. check the empty Package.xml in the delta folder:



52.0

```

bug

All 4 comments

Hi @robertoamd90 !

Thanks for your interest in the plugin and thanks for your contribution to make it better !

I tried to reproduce on my side using the reproduction playground.

It seems to be working on my side when using the pathAssistants (in plural) folder.

Could you confirm on your side that it fixes the issue ?

Hi @scolladon ,
Thanks for your fast feedback,
We have checked your suggest and fixed the folder name (created from Scratch Org Pull) with the suggested name (confirmed by developer guide), and this fixed the problem.

Thanks a lot for your work,

Roberto

Thanks!

That is weird that sfdx force:source:pull creates a bad folder name...
Have you seen a related issue on the sfdx repo ?
Maybe you should create one !

We did some tests,
push and pull work correctly with both folder, but we don't know why CLI have created singular folder. Maybe ti was created on old CLI version.

Thanks again!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexandrececchin picture alexandrececchin  路  9Comments

alexmodis picture alexmodis  路  8Comments

alexmodis picture alexmodis  路  8Comments

sheldonleelazarus picture sheldonleelazarus  路  4Comments

welhorr picture welhorr  路  4Comments