File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
buildSrc/src/main/kotlin/com/igorwojda/challenge/utils
src/test/kotlin/com/igorwojda/challenge/utils Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ object KotlinParserUtils {
19
19
).project
20
20
}
21
21
22
- fun getChallengeFile (challengeDirectoryPath : File , ChallengeFile : ChallengeFile ): File {
23
- val path = " ${challengeDirectoryPath.path} /${ChallengeFile .fileName} "
22
+ fun getChallengeFile (challengeDirectoryPath : File , challengeFile : ChallengeFile ): File {
23
+ val path = " ${challengeDirectoryPath.path} /${challengeFile .fileName} "
24
24
return File (path)
25
25
}
26
26
27
- fun getChallengeKtFile (challengeDirectoryPath : File , ChallengeFile : ChallengeFile ): KtFile {
28
- val file = getChallengeFile(challengeDirectoryPath, ChallengeFile )
29
- val fullFileName = " ${challengeDirectoryPath.path} /${ChallengeFile .fileName} "
27
+ fun getChallengeKtFile (challengeDirectoryPath : File , challengeFile : ChallengeFile ): KtFile {
28
+ val file = getChallengeFile(challengeDirectoryPath, challengeFile )
29
+ val fullFileName = " ${challengeDirectoryPath.path} /${challengeFile .fileName} "
30
30
return getChallengeKtFile(file.readText(), fullFileName)
31
31
}
32
32
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ object KotlinParserUtils {
20
20
).project
21
21
}
22
22
23
- private fun getChallengeFile (challengeDirectoryPath : File , chalengeFile : ChallengeFile ): File {
24
- val path = " ${challengeDirectoryPath.path} /${chalengeFile .fileName} "
23
+ private fun getChallengeFile (challengeDirectoryPath : File , challengeFile : ChallengeFile ): File {
24
+ val path = " ${challengeDirectoryPath.path} /${challengeFile .fileName} "
25
25
return File (path)
26
26
}
27
27
28
- fun getChallengeKtFile (pchallengeDirectoryPath : File , ChallengeFile : ChallengeFile ): KtFile {
29
- val file = getChallengeFile(pchallengeDirectoryPath, ChallengeFile )
30
- val fullFileName = " ${pchallengeDirectoryPath .path} /${ChallengeFile .fileName} "
28
+ fun getChallengeKtFile (challengeDirectoryPath : File , challengeFile : ChallengeFile ): KtFile {
29
+ val file = getChallengeFile(challengeDirectoryPath, challengeFile )
30
+ val fullFileName = " ${challengeDirectoryPath .path} /${challengeFile .fileName} "
31
31
return getChallengeKtFile(file.readText(), fullFileName)
32
32
}
33
33
You can’t perform that action at this time.
0 commit comments