From 90f80d1faafa0e0b97fc6717137b90f30a80140d Mon Sep 17 00:00:00 2001 From: mp04 Date: Thu, 5 May 2022 20:56:36 +0530 Subject: [PATCH] fix: some code lines fixed --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 4dd910f..d31ffce 100644 --- a/src/index.js +++ b/src/index.js @@ -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; } }