Fix detection of child directories

Using `string.startsWith` is insufficient when two different directories
share a prefix, e.g. `./packageA` and `./packageAA`.
This commit is contained in:
Joel Low
2021-01-07 17:00:41 +08:00
parent 3a6f0539d3
commit 818d45e942
5 changed files with 48 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Fix detection of external package child directories