We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd1eb81 + 8d10ed4 commit 3146146Copy full SHA for 3146146
1 file changed
build/lib/compilation.ts
@@ -339,8 +339,18 @@ function generateApiProposalNames() {
339
'',
340
].join(eol);
341
342
+ const filePath = 'vs/platform/extensions/common/extensionsApiProposals.ts';
343
+ try {
344
+ const existing = fs.readFileSync(path.join('src', filePath), 'utf-8');
345
+ if (existing === contents) {
346
+ this.emit('end');
347
+ return;
348
+ }
349
+ } catch {
350
+ // File doesn't exist yet, emit it
351
352
this.emit('data', new File({
- path: 'vs/platform/extensions/common/extensionsApiProposals.ts',
353
+ path: filePath,
354
contents: Buffer.from(contents)
355
}));
356
this.emit('end');
0 commit comments