Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commit 8e2c75c

Browse files
removed logs
1 parent 6540733 commit 8e2c75c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

‎src/components/YamlEditor/YamlEditor.jsx‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ export default function YamlEditor(){
4747
try{
4848
constdoc=jsYaml.load(newValue,{strict: true});
4949
constvalid=validate(doc);
50-
console.log("Validation result:",valid);
51-
console.log("Validation errors:",validate.errors);
5250

5351
if(!valid&&validate.errors){
5452
setAnnotations(
@@ -69,12 +67,6 @@ export default function YamlEditor(){
6967
setAnnotations([]);
7068
}
7169
}catch(err){
72-
console.error("Error:",err);
73-
console.log({
74-
errorMessage: err.reason,
75-
column: err.mark?.column,
76-
line: err.mark?.line,
77-
});
7870
setAnnotations([
7971
{
8072
row: err.instancePath ? getLineNumber(newValue,err.instancePath) : 0,

0 commit comments

Comments
(0)