mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Show monaco.d.ts output only when something has changed
This commit is contained in:
@@ -172,11 +172,9 @@ class MonacoGenerator {
|
||||
const result = this._run();
|
||||
if (!result) {
|
||||
// nothing really changed
|
||||
this._log(`monaco.d.ts is unchanged - total time took ${Date.now() - startTime} ms`);
|
||||
return;
|
||||
}
|
||||
if (result.isTheSame) {
|
||||
this._log(`monaco.d.ts is unchanged - total time took ${Date.now() - startTime} ms`);
|
||||
return;
|
||||
}
|
||||
fs.writeFileSync(result.filePath, result.content);
|
||||
|
||||
Reference in New Issue
Block a user