Skip to content

Commit

Permalink
fix: zsh compatibility for api installation instructions (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion authored Apr 11, 2024
1 parent 561b44a commit 858b485
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/httpsnippet-client-api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const client: Client<APIOptions> = {
link: 'https://npm.im/api',
description: 'Automatic SDK generation from an OpenAPI definition.',
extname: '.js',
installation: 'npx api install {packageName}',
installation: 'npx api install "{packageName}"',
},
convert: ({ cookiesObj, headersObj, postData, queryObj, url, ...source }, options) => {
const opts = {
Expand Down
2 changes: 1 addition & 1 deletion packages/httpsnippet-client-api/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('httpsnippet-client-api', () => {
link: 'https://npm.im/api',
description: 'Automatic SDK generation from an OpenAPI definition.',
extname: '.js',
installation: 'npx api install {packageName}',
installation: 'npx api install "{packageName}"',
});
});

Expand Down

0 comments on commit 858b485

Please sign in to comment.