From 682ccf9476749e30a33baa58b975bb6386ee042f Mon Sep 17 00:00:00 2001 From: "Kristian D. Dimitrov" Date: Thu, 8 Mar 2018 10:59:17 +0200 Subject: [PATCH] fix(nsconfig):app reources not filtered on prepare --- lib/services/app-files-updater.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/app-files-updater.ts b/lib/services/app-files-updater.ts index 5bc1bba1cc..6a44c2113f 100644 --- a/lib/services/app-files-updater.ts +++ b/lib/services/app-files-updater.ts @@ -17,7 +17,7 @@ export class AppFilesUpdater { // exclude the app_resources directory from being enumerated // for copying if it is present in the application sources dir - const appResourcesPathNormalized = path.normalize(projectData.appResourcesDirectoryPath + "\\"); + const appResourcesPathNormalized = path.normalize(projectData.appResourcesDirectoryPath + path.sep); sourceFiles = sourceFiles.filter(dirName => !path.normalize(dirName).startsWith(appResourcesPathNormalized)); updateAppOptions.beforeCopyAction(sourceFiles);