<commit_before>import childProcess from 'child_process'

export function run () {
  const { program } = this
  // type is localhost by default, but here we want to deploy
  // so we set actually the default to staging here
  if (program.type === 'localhost') {
    program.type = 'staging'
  }
  let commands = []
  commands.push(`tpt -e --script run --type ${program.type} --servers all`)
  let command = commands.join(' && ')
  if (program.user === 'me' && program.ttab === 'true') {
    command = `${command} --ttab true`
  }
  this.consoleInfo('Let\'s push')
  this.consoleLog(command)
  childProcess.execSync(command, { stdio: [0, 1, 2] })
}<commit_msg>fix deploy step by fixing at the run stage<commit_after>import childProcess from 'child_process'

export function run () {
  const { program } = this
  // reset
  this.execResetConcurrently('push')
  // type is localhost by default, but here we want to deploy
  // so we set actually the default to staging here
  if (program.type === 'localhost') {
    program.type = 'staging'
  }
  let commands = []
  commands.push(`tpt -e --script run --type ${program.type} --servers all`)
  let command = commands.join(' && ')
  // exec
  this.consoleLog(command)
  childProcess.execSync(command, { stdio: [0, 1, 2] })
}
{'fraction_non_alphanumeric': 0.14668769716088328, 'fraction_numerical': 0.00473186119873817, 'mean_word_length': 3.40625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2440533', 'n_tokens_mistral': 401, 'n_tokens_neox': 393, 'n_words': 130}