Closed LDoege closed 1 year ago
Should not fail without dependencies:-)
Sorry for the very late reply here, but I cannot make this fail. Not with an app.json without dependencies or with empty dependencies. If you still have this issue, any chance you can send me the app.json file(s) which provokes the problem to freddyk at microsoft dot com, thanks
Hi Freddy, we use the sort appfolders function to build multiple apps for our customer releases and never really had issues with it as there was alsways atleast a Microsoft dependency present in the app.json. With plattform and application moving to their own tokens it might be the case now that some apps will have no dependency at all.
This will break the function with either
if there is no dependencies object or for the missing dependencies.Name property if adding "dependencies": [{}],
For now we could get around adding the Microsoft dependencies back in and getting a warning but it´s still an issue i guess.
Thanks for your work! Makes our life easier every day
edit: "dependencies": [], works too.