Skip to content

Commit

Permalink
feat: add type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdada committed Jul 26, 2020
1 parent 938a550 commit ebafa30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/provider/CustomProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default class CustomProvider extends Provider {
mptcp: Joi.boolean().strict(),
binPath: Joi.string(),
localPort: Joi.number(),
'underlying-proxy': Joi.string(),
})
.unknown();
const schema = Joi.object({
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const getSurgeNodes = function(
].join(' = '));
}

// Using external provider
// Using custom format
return ([
config.nodeName,
[
Expand Down

1 comment on commit ebafa30

@vercel
Copy link

@vercel vercel bot commented on ebafa30 Jul 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.