async function runSeed() {
  console.log('seeding...');
  try {
    await seedRecipes();
  } catch (err) {
    console.error(err);
    process.exitCode = 1;
  } finally {
    console.log('closing db connection');
    await recipestore.close();
    console.log('db connection closed');
  }
}
// The `seed` function is concerned only with modifying the database.
The `seed` function is concerned only with modifying the database.
The ` seed ` function is concerned only with modifying the database .
async function runSeed() {
  console.log('seeding...');
  try {
    await seedRecipes();
  } catch (err) {
    console.error(err);
    process.exitCode = 1;
  } finally {
    console.log('closing db connection');
    await recipestore.close();
    console.log('db connection closed');
  }
}
async function runSeed ( ) { console . log ( 'seeding...' ) ; try { await seedRecipes ( ) ; } catch ( err ) { console . error ( err ) ; process . exitCode = 1 ; } finally { console . log ( 'closing db connection' ) ; await recipestore . close ( ) ; console . log ( 'db connection closed' ) ; } }
The `seed` function is concerned only with modifying the database.
The ` seed ` function is concerned only with modifying the database .