Skip to content

Commit 5fee808

Browse files
committed
fix: sonar lint issues
1 parent 160f556 commit 5fee808

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/extensions/default/Phoenix/newly-added-features.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ define(function (require, exports, module) {
8181

8282
async function _showNewUpdatesIfPresent() {
8383
// codemirror documents are always \n instead of \r\n line endings. so we strip here too
84-
let newMarkdownText = (await _getUpdateMarkdownText()).replace(/[\r]/g, '');
85-
let currentMarkdownText = (await _readMarkdownTextFile()).replace(/[\r]/g, '');
84+
let newMarkdownText = (await _getUpdateMarkdownText()).replace(/\r/g, '');
85+
let currentMarkdownText = (await _readMarkdownTextFile()).replace(/\r/g, '');
8686
if(newMarkdownText !== currentMarkdownText){
8787
let markdownFile = FileSystem.getFileForPath(_getUpdateMarkdownLocalPath());
8888
// if the user overwrites the markdown file, then the user edited content will be nuked here.

0 commit comments

Comments
 (0)