update generate deploy script from hardcoded tezos-client tool to dynamic tool

This commit is contained in:
Edmond Lee 2020-05-26 11:47:30 -07:00
parent 6d6556107a
commit 78166c13d3

View File

@ -81,7 +81,7 @@ export class GenerateDeployScriptAction extends CancellableAction {
} }
const title = slugify(editor.title).toLowerCase() || 'untitled'; const title = slugify(editor.title).toLowerCase() || 'untitled';
const output = `tezos-client \\ const output = `${generateDeployScript.tool} \\
originate \\ originate \\
contract \\ contract \\
${title} \\ ${title} \\