Skip to content

Commit

Permalink
fix: Incorrect copy
Browse files Browse the repository at this point in the history
  • Loading branch information
quul committed Apr 12, 2023
1 parent 25a5ea6 commit 8fff83d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions lib/utils/clash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,10 @@ export const getClashNodes = function (

case NodeTypeEnum.Snell:
if (Number(nodeConfig.version) >= 4) {
if (!nodeConfig.clashConfig?.enableTuic) {
logger.warn(
`Clash尚不支持Snell v${nodeConfig.version},节点 ${nodeConfig.nodeName} 会被省略。`,
);
return null;
logger.warn(
`Clash尚不支持Snell v${nodeConfig.version},节点 ${nodeConfig.nodeName} 会被省略。`,
);
return null;
}
return {
type: 'snell',
Expand Down

0 comments on commit 8fff83d

Please sign in to comment.