Update emoji-datasource to 16.0.0
This commit is contained in:
parent
7bb8a35839
commit
b2f1639146
14 changed files with 4113 additions and 4083 deletions
|
@ -61,13 +61,13 @@ export class OptionalResourceService {
|
|||
return undefined;
|
||||
}
|
||||
|
||||
const inMemory = this.#cache.get(name);
|
||||
if (inMemory) {
|
||||
return inMemory;
|
||||
}
|
||||
|
||||
const filePath = join(this.resourcesDir, name);
|
||||
return this.#queueFileWork(filePath, async () => {
|
||||
const inMemory = this.#cache.get(name);
|
||||
if (inMemory) {
|
||||
return inMemory;
|
||||
}
|
||||
|
||||
try {
|
||||
const onDisk = await readFile(filePath);
|
||||
const digest = createHash('sha512').update(onDisk).digest();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue