mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
remove logo for old Vanity (#13672)
* Delete logo.png * Abandoned check fix Co-authored-by: catenocrypt <13562139+catenocrypt@users.noreply.github.com>
This commit is contained in:
parent
ebddc54efa
commit
cc8b74cc40
Binary file not shown.
Before Width: | Height: | Size: 20 KiB |
|
@ -99,8 +99,8 @@ export class FoldersFiles implements ActionInterface {
|
|||
if (!logoExists && infoExists) {
|
||||
// logo must be present, with some exceptions
|
||||
const info: unknown = readJsonFile(infoFullPath);
|
||||
if (!info['status'] || info['status'] !== 'spam' || info['status'] !== 'abandoned') {
|
||||
const msg = `Missing logo file for non-spam asset '${chain}/${address}' -- ${logoFullPath}`;
|
||||
if (!info['status'] || !(info['status'] == 'spam' || info['status'] == 'abandoned')) {
|
||||
const msg = `Missing logo file for non-spam/non-abandoned asset '${chain}/${address}' -- ${logoFullPath}`;
|
||||
console.log(msg);
|
||||
errors.push(msg);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user