Skip to content

Commit

Permalink
Fix validation script suggested license to match docs (#1455)
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin authored May 10, 2024
1 parent 36c5fe8 commit cd7e529
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions development/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class ExtensionFile extends BuildFile {

if (!metadata.license) {
throw new Error(
"Missing // License: -- We recommend using // License: LGPL-3.0"
"Missing // License: -- We recommend using // License: MPL-2.0"
);
}

Expand All @@ -219,7 +219,7 @@ class ExtensionFile extends BuildFile {
spdxParser(metadata.license);
} catch (e) {
throw new Error(
`${metadata.license} is not a valid SPDX license. Did you typo it? It is case sensitive. We recommend using // License: LGPL-3.0`
`${metadata.license} is not a valid SPDX license. Did you typo it? It is case sensitive. We recommend using // License: MPL-2.0`
);
}

Expand Down

0 comments on commit cd7e529

Please sign in to comment.