We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1f3456 commit 158b713Copy full SHA for 158b713
src/utils.ts
@@ -14,8 +14,8 @@ export function checkEdition(str: string) {
14
return;
15
}
16
const { Edition } = yaml.load(str) as Record<string, any>;
17
- if (Edition && Edition !== '2.0.0') {
18
- const message: string = `Edition must be 2.0.0 version. Please join DingTalk group: 33947367 for consultation`;
+ if (Edition && Edition !== '2.0.0' && Edition !== '1.0.0') {
+ const message: string = `Edition must be 2.0.0 / 1.0.0 version. Please join DingTalk group: 33947367 for consultation`;
19
throw new Error(message);
20
21
0 commit comments