Skip to content
This repository was archived by the owner on Jan 14, 2022. It is now read-only.

Commit 22ac9fe

Browse files
committed
make the name sanitization consistent. impacts names with spaces
1 parent e7a6eb0 commit 22ac9fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/projectBuilder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function createApps (w3cManifestInfo, rootDir, platforms, options, href, callbac
111111
}
112112

113113
// determine the path where the app will be created
114-
options.appName = utils.sanitizeName(w3cManifestInfo.content.short_name);
114+
options.appName = utils.sanitizeName(w3cManifestInfo.content.short_name.replace(/[^a-zA-Z0-9]/g, '_'));
115115
var generatedAppDir = path.join(rootDir, options.appName);
116116

117117
// Add timestamp to manifest information for telemetry purposes only

0 commit comments

Comments
 (0)