Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
mjcuva committed Jun 6, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent f55f5a6 commit 0dcf4f7
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/swagger.js
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ exports.run = function({ args, opts }) {
function error(err) {
try {
return Promise.reject(new Error(JSON.parse(err.error).description));
} catch(e) {
} catch (e) {
return Promise.reject(new Error('There was an error uploading!'));
}
}
4 changes: 2 additions & 2 deletions test/docs.test.js
Original file line number Diff line number Diff line change
@@ -31,8 +31,8 @@ describe('docs command', () => {
assert.equal(err.message, 'No folder provided. Usage `rdme docs <folder>`');
}));

it('should error if the argument isnt a folder');
it('should error if the folder contains no markdown files');
it.todo('should error if the argument isnt a folder');
it.todo('should error if the folder contains no markdown files');

describe('existing docs', () => {
it('should fetch doc and merge with what is returned', () => {

0 comments on commit 0dcf4f7

Please sign in to comment.