We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87f1146 commit 47fbfa8Copy full SHA for 47fbfa8
lib/swagger.js
@@ -28,11 +28,10 @@ exports.run = function({ args, opts }) {
28
}
29
30
function success(data) {
31
- const msg = data.headers.location
32
- ? `You've successfully uploaded a new swagger file to your ReadMe project! See what was imported here: ${data.headers.location}`
33
- : 'Success!';
34
-
35
- console.log(msg.green);
+ console.log(
+ `You've successfully uploaded a new swagger file to your ReadMe project! See what was imported here: ${data.headers.location}`
+ .green,
+ );
36
console.log(
37
`Run 'rdme swagger FILE --key=API_KEY --id=${
38
// eslint-disable-next-line
0 commit comments