Skip to content

Commit 592ef0c

Browse files
committed
feat: fixed path problem
1 parent d109d73 commit 592ef0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func parseCliOptions() {
8282
fmt.Println("Project path not exists!")
8383
os.Exit(1)
8484
}
85-
gitBaseCommand = fmt.Sprintf("%s --git-dir=%s.git --work-tree=%s/", gitBaseCommand, projectPath, projectPath)
85+
gitBaseCommand = fmt.Sprintf("%s --git-dir=%s.git --work-tree=%s", gitBaseCommand, projectPath, projectPath)
8686
}
8787

8888
// output file location
@@ -330,9 +330,9 @@ func getReleaseFilePath() string {
330330

331331
//if run from another directory then project path need to add
332332
if len(projectPath) > 0 {
333-
outputPath = fmt.Sprintf("%s/%s", projectPath, logFileFolder)
333+
outputPath = fmt.Sprintf("%s%s", projectPath, logFileFolder)
334334
}
335-
335+
336336
if !directoryOrFileExists(outputPath) {
337337
os.Mkdir(outputPath, os.ModePerm)
338338
}

0 commit comments

Comments
 (0)