Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jtkech committed Oct 17, 2023
1 parent 1d2b535 commit e97b4c2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ function deleteDirectory(dir) {

// Copy the migrations recipe
function copyMigrationsRecipeFile(dir) {
if (fs.existsSync('Recipes/migrations.recipe.json')) {
fs.copyFile('Recipes/migrations.recipe.json', `${dir}/Recipes/migrations.recipe.json`);
if (fs.existsSync('./Recipes/migrations.recipe.json')) {
fs.copyFile('./Recipes/migrations.recipe.json', `${dir}/Recipes/migrations.recipe.json`);
global.log(`migrations recipe copied to ${dir}/Recipes`);
}
}
Expand Down

0 comments on commit e97b4c2

Please sign in to comment.