forked from DebaucheryLibrarian/traxxx
Changed --inspect to --report to avoid conflict with Node's own debug tools.
This commit is contained in:
@@ -66,7 +66,7 @@ async function init() {
|
||||
const movieScenes = argv.movieScenes ? deepMovies.map(movie => movie.scenes?.map(scene => ({ ...scene, entity: movie.entity }))).flat().filter(Boolean) : [];
|
||||
const deepMovieScenes = argv.deep ? await fetchScenes(movieScenes) : movieScenes;
|
||||
|
||||
if (argv.inspect) {
|
||||
if (argv.report) {
|
||||
console.log(util.inspect(deepScenes, { depth: Infinity, colors: true }));
|
||||
console.log(util.inspect(deepMovies, { depth: Infinity, colors: true }));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user