We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2cd748 commit 77850bbCopy full SHA for 77850bb
lib/compile/index.js
@@ -20,7 +20,7 @@ module.exports = function processor(csn, options = {}) {
20
}
21
if (!cds.env?.export?.asyncapi?.application_namespace) {
22
const packageJson = require(join(cds.root,'package.json'));
23
- const appName = packageJson.name.replace(/\s/g, "-");
+ const appName = packageJson.name.replace(/^[@]/, "").replace(/[@/]/g, "-");
24
envConf["application_namespace"] = `customer.${appName}`
25
console.info(messages.APPLICATION_NAMESPACE);
26
0 commit comments