Skip to content

Commit

Permalink
fix: use .mjs instead
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Sep 13, 2024
1 parent 5f3f2b1 commit 374d2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/migrations/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const getPathToFile = (fileName, migrationPath = null) => {
* getNameOfMigrationFile('product', 'price') // change_product_price
*/
export const getNameOfMigrationFile = (component, field) => {
return `change_${component}_${field}.js`
return `change_${component}_${field}.mjs`
}

/**
Expand Down

0 comments on commit 374d2d7

Please sign in to comment.