Fix minor inconsistencies

This commit is contained in:
Zef Hemel
2023-08-15 07:56:29 +02:00
parent cf97d04b1b
commit b47c07da74
3 changed files with 12 additions and 5 deletions
+3
View File
@@ -31,6 +31,9 @@ export async function publishCommand() {
}
async function publish(pageName: string, uris: string[]) {
if (!Array.isArray(uris)) {
uris = [uris];
}
for (const uri of uris) {
const publisher = uri.split(":")[0];
const results = await events.dispatchEvent(