cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-05-25 22:33:46 +03:00
parent 141e2e8295
commit bf02d1a765

View File

@ -487,7 +487,6 @@ var CLIActions = actions.Actions({
//valueRequired: true, //valueRequired: true,
}}, }},
function(path, options){ function(path, options){
// XXX SETUP
this.setupFeatures() this.setupFeatures()
// get mode... // get mode...
@ -516,7 +515,6 @@ var CLIActions = actions.Actions({
return Promise.all([ return Promise.all([
// NOTE: no need to call .cacheMetadata(..) as // NOTE: no need to call .cacheMetadata(..) as
// it is already running after .loadImages(..) // it is already running after .loadImages(..)
// XXX we seem not to be reporting errors here (cli)...
index.makePreviews('all') ])} }) index.makePreviews('all') ])} })
.then(function(){ .then(function(){
return index return index