mirror of
https://github.com/any86/any-rule.git
synced 2025-07-14 15:38:58 +08:00
Update genCommond.js
This commit is contained in:
parent
107587e3b1
commit
9168000836
@ -11,9 +11,9 @@ RULES.forEach((rule, index) => {
|
|||||||
title: `zz: ${rule.title}`
|
title: `zz: ${rule.title}`
|
||||||
});
|
});
|
||||||
|
|
||||||
pkg.activationEvents.push('onCommand:extension.rule'+index);
|
pkg.activationEvents.push('*');
|
||||||
})
|
})
|
||||||
|
|
||||||
// console.log(JSON.stringify(pkg));
|
// console.log(JSON.stringify(pkg));
|
||||||
fs.writeFileSync('./package.json', JSON.stringify(pkg, null, 4), 'utf8');
|
fs.writeFileSync('./package.json', JSON.stringify(pkg, null, 4), 'utf8');
|
||||||
console.log(chalk.green('🚀 pkg文件修改完毕, 请等待生成vsc包...'));
|
console.log(chalk.green('🚀 pkg文件修改完毕, 请等待生成vsc包...'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user