Update plugins/scaffolder-backend/src/scaffolder/actions/builtin/fetch/template.ts

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Ben Lambert <blam@spotify.com>
This commit is contained in:
Ben Lambert
2022-08-16 13:51:46 +02:00
committed by GitHub
parent b10b6c4aa4
commit 560fd1251a
@@ -302,7 +302,7 @@ export function createFetchTemplateAction(options: {
function containsSkippedContent(localOutputPath: string): boolean {
// if the path is empty means that there is a file skipped in the root
// if the path is starts with a separator it means that the root directory has been skipped
// if the path starts with a separator it means that the root directory has been skipped
// if the path includes // means that there is a subdirectory skipped
// All paths returned are considered with / seperator because of globby returning the linux seperator for all os'.
return (