File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ yarn setup
11
11
```
12
12
13
13
# Usage
14
- add config file ` .api-to-go.yaml ` .
14
+ add config file ` .api-to-go.yml ` .
15
15
``` yaml
16
16
api.github.com :
17
17
format :
@@ -30,7 +30,7 @@ check generated files and directories.
30
30
``` sh
31
31
tree -a .
32
32
# > .
33
- # > ├── .api-to-go.yaml
33
+ # > ├── .api-to-go.yml
34
34
# > └── api.github.com
35
35
# > └── users
36
36
# > └── user
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
const yaml = require ( "js-yaml" ) ;
2
2
const fs = require ( "fs" ) ;
3
3
4
- function buildPath ( url , configFile = "./.api-to-go.yaml " ) {
4
+ function buildPath ( url , configFile = "./.api-to-go.yml " ) {
5
5
const path = _buildPath ( url , configFile )
6
6
const pathArr = path . replacedUrl . split ( "/" )
7
7
const pkg = pathArr [ pathArr . length - 2 ] . replace ( / \. / g, '' )
You can’t perform that action at this time.
0 commit comments