Skip to content

Commit e5f5e2c

Browse files
committed
🔧 yaml to yml
1 parent 001d2c0 commit e5f5e2c

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.semver.yml

Whitespace-only changes.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ yarn setup
1111
```
1212

1313
# Usage
14-
add config file `.api-to-go.yaml`.
14+
add config file `.api-to-go.yml`.
1515
```yaml
1616
api.github.com:
1717
format:
@@ -30,7 +30,7 @@ check generated files and directories.
3030
```sh
3131
tree -a .
3232
# > .
33-
# > ├── .api-to-go.yaml
33+
# > ├── .api-to-go.yml
3434
# > └── api.github.com
3535
# > └── users
3636
# > └── user
File renamed without changes.

src/buildPath.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const yaml = require("js-yaml");
22
const fs = require("fs");
33

4-
function buildPath(url, configFile = "./.api-to-go.yaml") {
4+
function buildPath(url, configFile = "./.api-to-go.yml") {
55
const path = _buildPath(url, configFile)
66
const pathArr = path.replacedUrl.split("/")
77
const pkg = pathArr[pathArr.length - 2].replace(/\./g, '')

0 commit comments

Comments
 (0)