Skip to content

Commit

Permalink
Fixed code for naming '_as_owl.json' file.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav committed Feb 4, 2019
1 parent 1a8070d commit 5479b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_phyx.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe('Test PHYX files in repository', function() {

// Let's write the JSON-LD into a file for debugging.
fs.writeFileSync(
filename.replace('paper.json', 'paper_as_owl.json'),
filename.replace(/.json$/, '_as_owl.json'),
jsonld
);
} catch(ex) {
Expand Down

0 comments on commit 5479b5a

Please sign in to comment.