Skip to content

Commit

Permalink
icon corr
Browse files Browse the repository at this point in the history
  • Loading branch information
arteck authored Nov 7, 2024
1 parent bc757d0 commit 5fed365
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/statescontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ class StatesController extends EventEmitter {
}
icon = `img/${model_modif}.png`;
} catch (e) {
this.debug(`ERROR : icon not found from ${icon} saved into ${pathToIcon}`);
this.warn(`ERROR : icon not found from ${icon} saved into ${pathToIcon}`);
}
}
}
Expand Down Expand Up @@ -560,7 +560,8 @@ class StatesController extends EventEmitter {
writer.on('finish', resolve);
writer.on('error', reject);
}).catch(err => {
reject(err);
// reject(err);

Check failure on line 563 in lib/statescontroller.js

View workflow job for this annotation

GitHub Actions / check-and-lint

Expected indentation of 20 spaces but found 19
this.warn(`ERROR : icon path not found ${image_path}`);

Check failure on line 564 in lib/statescontroller.js

View workflow job for this annotation

GitHub Actions / check-and-lint

Expected indentation of 20 spaces but found 19
});
});
}
Expand Down

0 comments on commit 5fed365

Please sign in to comment.