File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,6 @@ export class CodeSnippetEditor extends ReactWidget {
305
305
`.${ CODE_SNIPPET_EDITOR } -${ this . _codeSnippetEditorMetaData . id } .${ CODE_SNIPPET_EDITOR_LANG_INPUT } `
306
306
) as HTMLSelectElement ) . value ;
307
307
308
- console . log ( language ) ;
309
308
const validity = this . validateInputs ( name , description , language ) ;
310
309
if ( validity ) {
311
310
this . updateSnippet ( ) ;
@@ -364,7 +363,6 @@ export class CodeSnippetEditor extends ReactWidget {
364
363
this . _codeSnippetEditorMetaData . description = description ;
365
364
this . _codeSnippetEditorMetaData . language = language ;
366
365
367
- console . log ( language ) ;
368
366
this . saved = true ;
369
367
370
368
const newPath =
@@ -378,8 +376,6 @@ export class CodeSnippetEditor extends ReactWidget {
378
376
try {
379
377
await this . contentsService . rename ( oldPath , newPath ) ;
380
378
} catch ( error ) {
381
- console . log ( 'duplicate name!' ) ;
382
-
383
379
await showDialog ( {
384
380
title : 'Duplicate Name of Code Snippet' ,
385
381
body : < p > { `"${ newPath } " already exists.` } </ p > ,
@@ -406,14 +402,12 @@ export class CodeSnippetEditor extends ReactWidget {
406
402
} )
407
403
. catch ( ( ) => {
408
404
nameCheck = true ;
409
- console . log ( 'new snippet has been created!' ) ;
410
405
} ) ;
411
406
if ( ! nameCheck ) {
412
407
return ;
413
408
}
414
409
}
415
410
416
- console . log ( this . _codeSnippetEditorMetaData . selectedTags ) ;
417
411
await this . contentsService . save ( newPath , {
418
412
type : 'file' ,
419
413
format : 'text' ,
You can’t perform that action at this time.
0 commit comments