From e7fa77bec00f0f8f3c53bb595ca9376618818f8c Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Thu, 9 Jan 2025 11:05:53 -0500 Subject: [PATCH] shopify app config create must be run interactively TODO: try pty later? --- fly.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fly.js b/fly.js index 2540de5..84d2d7b 100755 --- a/fly.js +++ b/fly.js @@ -319,8 +319,9 @@ GDF.extend(class extends GDF { } if (!toml.includes('client_id')) { - console.log(`${chalk.bold.green('execute'.padStart(11))} shopify app config create`) - execSync('shopify app config link', { encoding: 'utf8', stdio: 'inherit'}) + this.setExit(42) + console.log(`${chalk.bold.red('shopify.app.toml')} is not complete; run ${chalk.bold.blue('shopify app config create')} first.`) + return } const env = {