Skip to content

Commit 1494819

Browse files
committed
CW: Code Refactoring
1 parent 5cd0fef commit 1494819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codewhisperer/util/dependencyGraph/rubyDependencyGraph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class RubyDependencyGraph extends DependencyGraph {
9292
break
9393
}
9494

95-
if (keyword && keyword !== undefined) {
95+
if (keyword !== undefined) {
9696
const modulePathStr = importStr.substring(keyword.length).trim().replace(/\s+/g, '')
9797
modulePaths = this.getModulePath(modulePathStr)
9898
}

0 commit comments

Comments
 (0)