Skip to content

Commit

Permalink
shopify app config create must be run interactively
Browse files Browse the repository at this point in the history
TODO: try pty later?
  • Loading branch information
rubys committed Jan 9, 2025
1 parent ab24608 commit e7fa77b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fly.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit e7fa77b

Please sign in to comment.