sasat 0.21.2 → 0.21.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/cli.cjs +1 -2
- package/dist/cli/cli.mjs +1 -2
- package/package.json +1 -1
package/dist/cli/cli.cjs
CHANGED
|
@@ -13,7 +13,6 @@ const fs$1 = require('fs-extra');
|
|
|
13
13
|
require('js-yaml');
|
|
14
14
|
const prettier = require('prettier');
|
|
15
15
|
const typescript = require('typescript');
|
|
16
|
-
const getCurrentStore$1 = require('cli/commands/getCurrentStore');
|
|
17
16
|
require('sqlstring');
|
|
18
17
|
require('mysql2');
|
|
19
18
|
require('util');
|
|
@@ -5294,7 +5293,7 @@ const generate = async () => {
|
|
|
5294
5293
|
await compileMigrationFiles();
|
|
5295
5294
|
const files = getMigrationFileNames();
|
|
5296
5295
|
const targetFile = files.find((it) => it === error.config().migration.target) || files[files.length - 1];
|
|
5297
|
-
const store = await getCurrentStore
|
|
5296
|
+
const store = await getCurrentStore();
|
|
5298
5297
|
const storeHandler = new DataStoreHandler(store);
|
|
5299
5298
|
error.writeCurrentSchema(store);
|
|
5300
5299
|
await new CodeGen_v2(storeHandler).generate();
|
package/dist/cli/cli.mjs
CHANGED
|
@@ -13,7 +13,6 @@ import fs$1 from 'fs-extra';
|
|
|
13
13
|
import 'js-yaml';
|
|
14
14
|
import * as prettier from 'prettier';
|
|
15
15
|
import typescript from 'typescript';
|
|
16
|
-
import { getCurrentStore as getCurrentStore$1 } from 'cli/commands/getCurrentStore';
|
|
17
16
|
import 'sqlstring';
|
|
18
17
|
import 'mysql2';
|
|
19
18
|
import 'util';
|
|
@@ -5269,7 +5268,7 @@ const generate = async () => {
|
|
|
5269
5268
|
await compileMigrationFiles();
|
|
5270
5269
|
const files = getMigrationFileNames();
|
|
5271
5270
|
const targetFile = files.find((it) => it === config().migration.target) || files[files.length - 1];
|
|
5272
|
-
const store = await getCurrentStore
|
|
5271
|
+
const store = await getCurrentStore();
|
|
5273
5272
|
const storeHandler = new DataStoreHandler(store);
|
|
5274
5273
|
writeCurrentSchema(store);
|
|
5275
5274
|
await new CodeGen_v2(storeHandler).generate();
|