Using ageFromBirth for age on scene date. Using infinite depth and colors for inspect.

This commit is contained in:
DebaucheryLibrarian 2020-12-01 23:00:14 +01:00
parent bfbd2ddc00
commit 6f19a8a642
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@
>{{ actor.age }}</span> >{{ actor.age }}</span>
<span <span
v-if="actor.ageThen && actor.ageThen < actor.age" v-if="actor.ageThen && actor.ageThen < actor.ageFromBirth"
v-tooltip="`${actor.ageThen} years old on release date`" v-tooltip="`${actor.ageThen} years old on release date`"
class="age-then" class="age-then"
>{{ actor.ageThen }}</span> >{{ actor.ageThen }}</span>

View File

@ -67,8 +67,8 @@ async function init() {
const deepMovieScenes = argv.deep ? await fetchScenes(movieScenes) : movieScenes; const deepMovieScenes = argv.deep ? await fetchScenes(movieScenes) : movieScenes;
if (argv.inspect) { if (argv.inspect) {
console.log(util.inspect(deepScenes)); console.log(util.inspect(deepScenes, { depth: Infinity, colors: true }));
console.log(util.inspect(deepMovies)); console.log(util.inspect(deepMovies, { depth: Infinity, colors: true }));
} }
if (argv.save) { if (argv.save) {