Skip to content

Commit

Permalink
Merge pull request #9 from zvakanaka/2-0-0-remove-newline-from-output
Browse files Browse the repository at this point in the history
Remove Newline from Output
  • Loading branch information
zvakanaka authored Sep 30, 2022
2 parents 88ee549 + 4b026cf commit ba16e28
Show file tree
Hide file tree
Showing 4 changed files with 4,312 additions and 11,286 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function curlString(
options && options.headers && typeof options.headers === 'object';
const hasBody = options && options.body;

let curl = `\ncurl --request ${method} \\\n--url ${url}${
let curl = `curl --request ${method} \\\n--url ${url}${
hasHeaders || hasBody ? ' \\' : ''
}`;

Expand Down
Loading

0 comments on commit ba16e28

Please sign in to comment.