Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
will-byrne committed Jul 17, 2023
1 parent 0079757 commit 371a420
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/docmap-parser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ describe('docmap-parser', () => {
it('extracts license url if in an expression', () => {
const parsedData = parseDocMap(fixtures.preprintRepublishedViaAssertion());

expect(parsedData.versions[0].preprint.license).toStrictEqual('http://creativecommons.org/licenses/by/4.0/')
expect(parsedData.versions[0].license).toStrictEqual('http://creativecommons.org/licenses/by/4.0/')
})
expect(parsedData.versions[0].preprint.license).toStrictEqual('http://creativecommons.org/licenses/by/4.0/');
expect(parsedData.versions[0].license).toStrictEqual('http://creativecommons.org/licenses/by/4.0/');
});
});
1 change: 0 additions & 1 deletion src/docmap-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ const updateReviewedPreprintFrom = (reviewedPreprint: ReviewedPreprint, expressi
if (expression.license) {
reviewedPreprintToUpdate.license = expression.license;
}

}
return reviewedPreprint;
};
Expand Down

0 comments on commit 371a420

Please sign in to comment.