Skip to content

Commit

Permalink
Fix config name
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBakerEffendi committed May 2, 2024
1 parent 88d7183 commit fcbdd11
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ abstract class XConfigFileCreationPass(cpg: Cpg, private val rootDir: Option[Str
private def configFileName(configFile: File): String = {
Try(Paths.get(rootDir.get).toAbsolutePath)
.map(_.relativize(configFile.path.toAbsolutePath).toString)
.orElse(Try(configFile.pathAsString))
.getOrElse(configFile.name)
}

Expand Down

0 comments on commit fcbdd11

Please sign in to comment.