Skip to content

Commit

Permalink
pack: Added TCM file packaging Closes #TNTP-1097
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrLitkevich committed Jan 27, 2025
1 parent 2c4fc18 commit 455053d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/configure/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ func detectLocalTcm(cmdCtx *cmdcontext.CmdCtx, cliOpts *config.CliOpts) (string,
if err != nil {
return "", err
}

if _, err := os.Stat(localTcm); err == nil {
if _, err := exec.LookPath(localTcm); err != nil {
return "", fmt.Errorf(`found Tcm binary '%s' isn't executable: %s`,
Expand All @@ -578,6 +578,7 @@ func detectLocalTcm(cmdCtx *cmdcontext.CmdCtx, cliOpts *config.CliOpts) (string,
return localTcm, nil
}


Check failure on line 581 in cli/configure/configure.go

View workflow job for this annotation

GitHub Actions / tests-ee (2.11.2-0-r609.linux.x86_64)

File is not properly formatted (gofmt)

Check failure on line 581 in cli/configure/configure.go

View workflow job for this annotation

GitHub Actions / tests-ce (1.10)

File is not properly formatted (gofmt)

Check failure on line 581 in cli/configure/configure.go

View workflow job for this annotation

GitHub Actions / tests-ee (3.2.0-0-r40.linux.x86_64)

File is not properly formatted (gofmt)

Check failure on line 581 in cli/configure/configure.go

View workflow job for this annotation

GitHub Actions / tests-ce (2.10)

File is not properly formatted (gofmt)

Check failure on line 581 in cli/configure/configure.go

View workflow job for this annotation

GitHub Actions / tests-ce (3.0)

File is not properly formatted (gofmt)
// configureLocalCli configures Tarantool CLI if the launch is local.
func configureLocalCli(cmdCtx *cmdcontext.CmdCtx) error {
launchDir, err := os.Getwd()
Expand Down

0 comments on commit 455053d

Please sign in to comment.