Skip to content

Commit dfb1754

Browse files
committed
fix(check-structure): do not require dev environment
1 parent be010ad commit dfb1754

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/checkStructure.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
import {
2-
requireEnv,
3-
getInsertsFromMigrations,
4-
getInsertsFromStructure,
5-
} from './utils'
6-
7-
async function checkStructure(options) {
8-
const { structurePath, migrationsPath } = options
9-
requireEnv('development', options.env)
1+
import { getInsertsFromMigrations, getInsertsFromStructure } from './utils'
102

3+
async function checkStructure({ structurePath, migrationsPath }) {
114
const migrationsInFolder = await getInsertsFromMigrations(migrationsPath)
125
const migrationsInStructure = await getInsertsFromStructure(structurePath)
136

0 commit comments

Comments
 (0)