Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
fix: remove newlines from the annotation message
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Feb 19, 2019
1 parent 6b368b1 commit 8eebb45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ function parse(source, callback) {
[mediaType] = adapters[0].mediaTypes;
} else {
mediaType = 'text/vnd.apiblueprint';
warningElement = createWarning(`
Could not recognize API description format.
Falling back to API Blueprint by default.
`);
warningElement = createWarning(
'Could not recognize API description format.'
+ ' Falling back to API Blueprint by default.'
);
}

const args = { source, mediaType, generateSourceMap: true };
Expand Down

0 comments on commit 8eebb45

Please sign in to comment.