Skip to content

Commit 682ccf9

Browse files
author
Kristian D. Dimitrov
committed
fix(nsconfig):app reources not filtered on prepare
1 parent 069e69f commit 682ccf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/app-files-updater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class AppFilesUpdater {
1717

1818
// exclude the app_resources directory from being enumerated
1919
// for copying if it is present in the application sources dir
20-
const appResourcesPathNormalized = path.normalize(projectData.appResourcesDirectoryPath + "\\");
20+
const appResourcesPathNormalized = path.normalize(projectData.appResourcesDirectoryPath + path.sep);
2121
sourceFiles = sourceFiles.filter(dirName => !path.normalize(dirName).startsWith(appResourcesPathNormalized));
2222

2323
updateAppOptions.beforeCopyAction(sourceFiles);

0 commit comments

Comments
 (0)