Skip to content

Commit 5341442

Browse files
committed
Fix lint issues.
1 parent 524e4cf commit 5341442

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

lib/frame.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,10 @@ api.frame = (state, subjects, frame, parent, property = null) => {
231231

232232
// recurse into list
233233
if(graphTypes.isList(o)) {
234-
const subframe = (frame[prop] && frame[prop][0] && frame[prop][0]['@list']) ?
235-
frame[prop][0]['@list'] :
236-
_createImplicitFrame(flags);
234+
const subframe =
235+
(frame[prop] && frame[prop][0] && frame[prop][0]['@list']) ?
236+
frame[prop][0]['@list'] :
237+
_createImplicitFrame(flags);
237238

238239
// add empty list
239240
const list = {'@list': []};

tests/test-common.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,10 @@ function addTest(manifest, test, tests) {
388388
// expand @id and input base
389389
const test_id = test['@id'] || test['id'];
390390
//var number = test_id.substr(2);
391-
test['@id'] = manifest.baseIri + basename(manifest.filename).replace('.jsonld', '') + test_id;
391+
test['@id'] =
392+
manifest.baseIri +
393+
basename(manifest.filename).replace('.jsonld', '') +
394+
test_id;
392395
test.base = manifest.baseIri + test.input;
393396
test.manifest = manifest;
394397
const description = test_id + ' ' + (test.purpose || test.name);

0 commit comments

Comments
 (0)