Skip to content

Check large file size only for non ts files#26420

Merged
sheetalkamat merged 1 commit into
masterfrom
largeNonTsFiles
Aug 16, 2018
Merged

Check large file size only for non ts files#26420
sheetalkamat merged 1 commit into
masterfrom
largeNonTsFiles

Conversation

@sheetalkamat
Copy link
Copy Markdown
Member

No description provided.

Comment thread src/server/scriptInfo.ts
service.logger.info(`Skipped loading contents of large file ${fileName} for info ${this.info.fileName}: fileSize: ${fileSize}`);
this.info.containingProjects[0].projectService.sendLargeFileReferencedEvent(fileName, fileSize);
return "";
// Only non typescript files have size limitation
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't that defeat the original purpose of detecting MPEG TS files?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The purpose of change wasnt to detect mpeg file but to detect large json/js minified files. (eg. #24762 had minified js file which failed to parse/bind)

@sheetalkamat sheetalkamat merged commit 0ca9a36 into master Aug 16, 2018
@sheetalkamat sheetalkamat deleted the largeNonTsFiles branch August 16, 2018 17:28
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants