Skip to content

Commit

Permalink
Go build cannot find the tidb-server directory
Browse files Browse the repository at this point in the history
  • Loading branch information
cmz123 committed Dec 21, 2023
1 parent d84f0ac commit eb4bc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playground/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class PlaygroundCommand {
if (folder.name === comp) {
if (comp === 'tidb') {
preCmds.push(
`cd ${folder.uri.fsPath} && make && go build -gcflags='-N -l' -o ./bin/tidb-server tidb-server/main.go`
`cd ${folder.uri.fsPath} && make && go build -gcflags='-N -l' -o ./bin/tidb-server ./cmd/tidb-server/main.go`
)
args.push(`--${k} ${folder.uri.fsPath}/bin/tidb-server`)
} else if (comp === 'tikv') {
Expand Down

0 comments on commit eb4bc86

Please sign in to comment.