File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -174,13 +174,11 @@ const createHttpServer = (port: number): Server => {
174174 return ;
175175 }
176176
177- response
178- . writeHead ( 400 , { "Content-Type" : "application/json" } )
179- . end (
180- JSON . stringify ( {
181- error : "No valid session. Send an initialize request first." ,
182- } ) ,
183- ) ;
177+ response . writeHead ( 400 , { "Content-Type" : "application/json" } ) . end (
178+ JSON . stringify ( {
179+ error : "No valid session. Send an initialize request first." ,
180+ } ) ,
181+ ) ;
184182 return ;
185183 }
186184
Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ interface LexicalNode {
3232const generateUuid = ( ) : string =>
3333 "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx" . replace ( / [ x y ] / g, ( character ) => {
3434 const randomNibble = ( Math . random ( ) * 16 ) | 0 ;
35- const hexValue = character === "x" ? randomNibble : ( randomNibble & 0x3 ) | 0x8 ;
35+ const hexValue =
36+ character === "x" ? randomNibble : ( randomNibble & 0x3 ) | 0x8 ;
3637 return hexValue . toString ( 16 ) ;
3738 } ) ;
3839
You can’t perform that action at this time.
0 commit comments