Ver Fonte

Update worker.js

Lutz Roeder há 7 meses atrás
pai
commit
5de69053c3
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      test/worker.js

+ 1 - 1
test/worker.js

@@ -603,7 +603,7 @@ export class Target {
             throw new Error(`Invalid runtime '${model.runtime}'.`);
         }
         if (model.metadata && (!Array.isArray(model.metadata) || !model.metadata.every((argument) => argument.name && (argument.value || argument.value === null || argument.value === '' || argument.value === false || argument.value === 0)))) {
-            throw new Error("Invalid model metadata.'");
+            throw new Error("Invalid model metadata.");
         }
         if (this.assert) {
             for (const assert of this.assert) {