Showing non-showcased batches in latest and upcoming, only meant to be excluded from new.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { utilsApi } from '../src/manticore.js';
|
||||
import { syncStashes } from '../src/sync.js';
|
||||
import runTool from './run-tool.js';
|
||||
import runTool, { isMain } from './run-tool.js';
|
||||
|
||||
export async function rebuildStashes() {
|
||||
await utilsApi.sql('drop table if exists scenes_stashed');
|
||||
@@ -37,6 +37,6 @@ export async function rebuildStashes() {
|
||||
await syncStashes('movie');
|
||||
}
|
||||
|
||||
if (import.meta.main) {
|
||||
if (isMain(import.meta.url)) {
|
||||
runTool(rebuildStashes);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user