trim postinstall message to avoid empty new lines
This commit is contained in:
@@ -144,7 +144,7 @@ function create() {
|
||||
if (app.sso) text = text.replace(/<nosso>[^]*?<\/nosso>/g, '');
|
||||
else text = text.replace(/<sso>[^]*?<\/sso>/g, '');
|
||||
|
||||
app.manifest.postInstallMessage = text;
|
||||
app.manifest.postInstallMessage = text.trim();
|
||||
}
|
||||
|
||||
return app;
|
||||
|
||||
Reference in New Issue
Block a user