Migrate to kleur

This commit is contained in:
Daniel Ruf
2019-06-03 10:23:53 +02:00
parent 6b59c51655
commit f3db3a52bf
12 changed files with 59 additions and 58 deletions

View File

@ -5,7 +5,7 @@
// Load modules
const fs = require('fs-extra');
const path = require('path');
const chalk = require('chalk');
const { green } = require('kleur');
let snippetsData = require('../snippet_data/snippets.json');
// Paths
const OUTPUT_PATH = './vscode_snippets';
@ -26,7 +26,7 @@ fs.writeFileSync(
);
// Display messages and time
console.log(
`${chalk.green(
`${green(
'SUCCESS!'
)} vscode_snippets/snippets.json file generated!`
);