extensionUtils: Don't warn about missing url

This did not have the desired effect and just produces noise.
This commit is contained in:
Adel Gadllah 2012-10-05 20:25:30 +02:00
parent f80eb89d57
commit 6dab119650

View File

@ -120,11 +120,6 @@ function createExtensionObject(uuid, dir, type) {
} }
} }
// Encourage people to add this
if (!meta.url) {
log('Warning: Missing "url" property in %s/metadata.json'.format(uuid));
}
if (uuid != meta.uuid) { if (uuid != meta.uuid) {
throw new Error('uuid "' + meta.uuid + '" from metadata.json does not match directory name "' + uuid + '"'); throw new Error('uuid "' + meta.uuid + '" from metadata.json does not match directory name "' + uuid + '"');
} }