mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
feat(cli): using rslog (#12334)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
import { consola } from 'consola';
|
||||
import { logger } from 'rslog';
|
||||
import { prompt } from 'enquirer';
|
||||
import { ensureDir } from 'fs-extra';
|
||||
import { VanGenerator } from './generator';
|
||||
@@ -17,7 +17,7 @@ async function run() {
|
||||
const generator = new VanGenerator(name);
|
||||
await generator.run();
|
||||
} catch (e) {
|
||||
consola.error(e);
|
||||
logger.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user