Use yellow for monaco.d.ts errors

This commit is contained in:
Alex Dima
2018-10-24 16:22:32 +02:00
parent 072eef20ac
commit 4823e0e2da
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ const SRC = path.join(__dirname, '../../src');
exports.RECIPE_PATH = path.join(__dirname, './monaco.d.ts.recipe');
const DECLARATION_PATH = path.join(__dirname, '../../src/vs/monaco.d.ts');
function logErr(message, ...rest) {
util.log(util.colors.red(`[monaco.d.ts]`), message, ...rest);
util.log(util.colors.yellow(`[monaco.d.ts]`), message, ...rest);
}
function isDeclaration(a) {
return (a.kind === ts.SyntaxKind.InterfaceDeclaration