Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
JawilX committed Dec 27, 2023
1 parent 9ba9dfc commit 76d010a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

[MIT](./LICENSE) License © 2023-PRESENT [JawilX](https://github.com/JawilX)


<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@jawilx/gen-api?style=flat&colorA=080f12&colorB=1fa669
Expand Down
1 change: 1 addition & 0 deletions bin/gen-api.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env node
'use strict'
// eslint-disable-next-line antfu/no-import-dist
import '../dist/cli.mjs'
3 changes: 0 additions & 3 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ export function commonUrl(url: string): string {

/**
* 将接口地址转化为接口名称
* @param url
* @param method
* @returns
*/
export function getApiName(url: string, method: string) {
// 去除开头的 /api
Expand Down

0 comments on commit 76d010a

Please sign in to comment.