Showing non-showcased batches in latest and upcoming, only meant to be excluded from new.
This commit is contained in:
@@ -2,7 +2,7 @@ import argv from '../src/argv.js';
|
||||
|
||||
import { utilsApi } from '../src/manticore.js';
|
||||
import { syncManticoreActors } from '../src/sync.js';
|
||||
import runTool from './run-tool.js';
|
||||
import runTool, { isMain } from './run-tool.js';
|
||||
|
||||
export async function rebuildActors() {
|
||||
await utilsApi.sql('drop table if exists actors');
|
||||
@@ -33,7 +33,7 @@ export async function rebuildActors() {
|
||||
await syncManticoreActors();
|
||||
}
|
||||
|
||||
if (import.meta.main) {
|
||||
if (isMain(import.meta.url)) {
|
||||
runTool(async () => {
|
||||
if (argv.update) {
|
||||
await rebuildActors();
|
||||
|
||||
Reference in New Issue
Block a user