File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
packages/tailwindcss-language-server/src Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -133,21 +133,6 @@ process.on('unhandledRejection', (e: any) => {
133133 connection . console . error ( formatError ( `Unhandled exception` , e ) )
134134} )
135135
136- function deletePropertyPath ( obj : any , path : string | string [ ] ) : void {
137- if ( typeof path === 'string' ) {
138- path = path . split ( '.' )
139- }
140-
141- for ( let i = 0 ; i < path . length - 1 ; i ++ ) {
142- obj = obj [ path [ i ] ]
143- if ( typeof obj === 'undefined' ) {
144- return
145- }
146- }
147-
148- delete obj [ path . pop ( ) ]
149- }
150-
151136function getConfigId ( configPath : string , configDependencies : string [ ] ) : string {
152137 return JSON . stringify (
153138 [ configPath , ...configDependencies ] . map ( ( file ) => [ file , fs . statSync ( file ) . mtimeMs ] )
You can’t perform that action at this time.
0 commit comments