Skip to content

Commit

Permalink
fix: some code lines fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandeep08punia committed May 5, 2022
1 parent 325b150 commit 90f80d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ try {
}
}
if(ext==='json'){
if(line.startsWith("//")==true){
if(line.startsWith("//")===true){
}
else{
String.prototype.replace(" // ?.*$","",line);
line=String.prototype.replace(" // ?.*$","",line);
document+=line;
}
}
Expand Down

0 comments on commit 90f80d1

Please sign in to comment.