File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
bazel/integration/test_runner Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,14 +124,14 @@ export class SizeTracker {
124124 }
125125
126126 /**
127- * File the provided file, replacing has indicator if necessary for discovery, returns null if
127+ * Find the provided file, replacing hash indicator if necessary for discovery, returns null if
128128 * the file cannot be found.
129129 */
130130 private findFile ( filePath : string ) : string | null {
131131 if ( existsSync ( filePath ) ) {
132132 return filePath ;
133133 }
134- const filePathPattern = filePath . replace ( / \[ [ h H ] [ a A ] [ s S ] [ h H ] \] / , '*' ) ;
134+ const filePathPattern = filePath . replace ( '[hash]' , '*' ) ;
135135 const matchedFiles = globSync ( filePathPattern , { onlyFiles : true } ) ;
136136 if ( matchedFiles . length === 1 ) {
137137 return matchedFiles [ 0 ] ;
You can’t perform that action at this time.
0 commit comments