"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateTrackConfigs = validateTrackConfigs;
exports.validateFileInput = validateFileInput;
exports.validateAssembliesForPerTrack = validateAssembliesForPerTrack;
function validateTrackConfigs(tracks) {
    if (!tracks.length) {
        throw new Error('Tracks not found in config.json, please add track configurations before indexing.');
    }
}
function validateFileInput(file) {
    if (!file) {
        throw new Error('Cannot index file list without files');
    }
}
function validateAssembliesForPerTrack(assemblies) {
    if (assemblies) {
        throw new Error(`Can't specify assemblies when indexing per track, remove assemblies flag to continue.`);
    }
}
