File tree Expand file tree Collapse file tree
extensions/ql-vscode/src/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export class FilePathSet {
3535 }
3636 }
3737
38- /** Removes and returns a path from the set, if the set of non-empty. */
38+ /** Removes and returns a path from the set, if the set is non-empty. */
3939 public popPath ( ) : string | undefined {
4040 return this . paths . shift ( ) ;
4141 }
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ export abstract class FilePathDiscovery<T extends PathData> extends Discovery {
128128
129129 private async handledChangedPath ( path : string ) : Promise < boolean > {
130130 if ( ! ( await exists ( path ) ) || ! this . pathIsInWorkspace ( path ) ) {
131- return this . handledRemovedPath ( path ) ;
131+ return this . handleRemovedPath ( path ) ;
132132 }
133133 if ( ( await lstat ( path ) ) . isDirectory ( ) ) {
134134 return await this . handleChangedDirectory ( path ) ;
@@ -142,7 +142,7 @@ export abstract class FilePathDiscovery<T extends PathData> extends Discovery {
142142 ) ;
143143 }
144144
145- private handledRemovedPath ( path : string ) : boolean {
145+ private handleRemovedPath ( path : string ) : boolean {
146146 const oldLength = this . paths . length ;
147147 this . paths = this . paths . filter ( ( q ) => ! containsPath ( path , q . path ) ) ;
148148 return this . paths . length !== oldLength ;
You can’t perform that action at this time.
0 commit comments