Skip to content

Commit

Permalink
Number()
Browse files Browse the repository at this point in the history
  • Loading branch information
heilingbrunner committed Aug 22, 2024
1 parent 75d6312 commit a2c82db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/provider/rawcontentprovider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class RawContentProvider implements vscode.TextDocumentContentPro
const eol = config.eol;

const proceed =
getFileSize(uri) < sizeWarning
Number(getFileSize(uri)) < sizeWarning
? 'Open'
: await vscode.window.showWarningMessage('File might be too big, are you sure you want to continue?', 'Open');
if (proceed === 'Open') {
Expand Down

0 comments on commit a2c82db

Please sign in to comment.