@@ -22,10 +22,10 @@ exports.provider = {
2222 return Promise . resolve ( [ ] ) ;
2323 if ( ! fs . existsSync ( filePath ) )
2424 return Promise . resolve ( [ ] ) ;
25- var pathMatchers = [ 'reference.path.quoted. string' , 'require.path.quoted. string' , 'es6import.path.quoted. string' ] ;
25+ var pathMatchers = [ 'reference.path.string.quoted ' , 'require.path.string.quoted ' , 'es6import.path.string.quoted ' ] ;
2626 var lastScope = options . scopeDescriptor . scopes [ options . scopeDescriptor . scopes . length - 1 ] ;
2727 if ( pathMatchers . some ( function ( p ) { return lastScope === p ; } ) ) {
28- return parent . getRelativePathsInProject ( { filePath : filePath , prefix : options . prefix , includeExternalModules : lastScope !== 'reference.path.quoted. string' } )
28+ return parent . getRelativePathsInProject ( { filePath : filePath , prefix : options . prefix , includeExternalModules : lastScope !== 'reference.path.string.quoted ' } )
2929 . then ( function ( resp ) {
3030 return resp . files . map ( function ( file ) {
3131 var relativePath = file . relativePath ;
@@ -36,17 +36,17 @@ exports.provider = {
3636 rightLabelHTML : '<span>' + file . name + '</span>' ,
3737 type : 'path'
3838 } ;
39- if ( lastScope == 'reference.path.quoted. string' ) {
39+ if ( lastScope == 'reference.path.string.quoted ' ) {
4040 suggestion . atomTS_IsReference = {
4141 relativePath : relativePath
4242 } ;
4343 }
44- if ( lastScope == 'require.path.quoted. string' ) {
44+ if ( lastScope == 'require.path.string.quoted ' ) {
4545 suggestion . atomTS_IsImport = {
4646 relativePath : relativePath
4747 } ;
4848 }
49- if ( lastScope == 'es6import.path.quoted. string' ) {
49+ if ( lastScope == 'es6import.path.string.quoted ' ) {
5050 suggestion . atomTS_IsES6Import = {
5151 relativePath : relativePath
5252 } ;
0 commit comments