Skip to content

Commit 48f8ac8

Browse files
committed
Use null instead of undefined values to fix yaml issue, closes #52
1 parent 3a48669 commit 48f8ac8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/endpoint.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ exports.handler = async ({url}) => {
5050
// push data
5151
userConfig.endpoints.push({
5252
endpoint: userConfig.endpoint,
53-
user: userConfig.user,
54-
token: userConfig.token,
53+
user: userConfig.user || null,
54+
token: userConfig.token || null,
5555
});
5656
}
5757
// then write new endpoint to current one and remove user/token

0 commit comments

Comments
 (0)