Skip to content

Commit

Permalink
Fix secondary licensing (OpenUserJS#1700)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martii committed Nov 8, 2019
1 parent a496bc4 commit 4cfdc4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/scriptStorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ exports.storeScript = function (aUser, aMeta, aBuf, aUpdate, aCallback) {

thatSPDX = thisKeyComponents[0];
if (SPDX.indexOf(thatSPDX) === -1
|| blockSPDX.indexOf(thatSPDX) > -1 && !exceptSPDX.indexOf(thatSPDX)) {
|| (blockSPDX.indexOf(thatSPDX) > -1 && exceptSPDX.indexOf(thatSPDX) === -1)) {

// Absent SPDX short code, or blocked SPDX with no except for dual licensed... reject
aInnerCallback(new statusError({
Expand Down

0 comments on commit 4cfdc4f

Please sign in to comment.