Use explicit server URL for migration CLI calls
Some checks failed
CI / verify (push) Has been cancelled
Some checks failed
CI / verify (push) Has been cancelled
This commit is contained in:
@@ -93,6 +93,8 @@ export function buildSpacetimeCallArgs(options, procedureName, input) {
|
|||||||
args.push('call');
|
args.push('call');
|
||||||
if (options.server) {
|
if (options.server) {
|
||||||
args.push('-s', options.server);
|
args.push('-s', options.server);
|
||||||
|
} else if (options.serverUrl) {
|
||||||
|
args.push('-s', options.serverUrl);
|
||||||
}
|
}
|
||||||
args.push(...options.passthrough);
|
args.push(...options.passthrough);
|
||||||
args.push(options.database, procedureName, JSON.stringify(input), '-y');
|
args.push(options.database, procedureName, JSON.stringify(input), '-y');
|
||||||
|
|||||||
Reference in New Issue
Block a user