mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-20 02:05:12 -04:00
🧹 code cleanup
This commit is contained in:
parent
d59b297a8e
commit
19a7e034d8
1 changed files with 50 additions and 58 deletions
|
@ -17,10 +17,6 @@ const generateConfigs = (colorSchemes: ColorSchema, dirPrefix: string) => {
|
|||
|
||||
const configs: Configs = {};
|
||||
|
||||
spinner.text = `Generating ${dirPrefix} Color schemes`;
|
||||
spinner.start();
|
||||
|
||||
try {
|
||||
for (let [schema] of Object.entries(colorSchemes)) {
|
||||
const schemaName = `${dirPrefix}-${schema}`;
|
||||
|
||||
|
@ -83,10 +79,6 @@ const generateConfigs = (colorSchemes: ColorSchema, dirPrefix: string) => {
|
|||
}
|
||||
|
||||
return configs;
|
||||
} catch (error) {
|
||||
spinner.fail();
|
||||
process.exit(1);
|
||||
}
|
||||
};
|
||||
|
||||
export { generateConfigs };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue