We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 364435e commit 36d55b6Copy full SHA for 36d55b6
cos.js
@@ -73,7 +73,7 @@ const activate = context => {
73
const fileBody = openedDoc.getText()
74
const isClass = /\.cls$/i.test( fileName )
75
const content = fileBody.split( /\r?\n/g )
76
- const matchingFileName = ( fileName.match(/[^\\\/]+$/) || [] )[ 0 ] || ''
+ const matchingFileName = ( fileName.match(/[^\\\/]+$/) || [] )[ 0 ] || ''
77
const matchingName = matchingFileName.replace( /\.[^.]+$/, '' )
78
79
if ( isClass ) {
0 commit comments