fix(core): update
This commit is contained in:
parent
78d1540ce0
commit
f97d72da28
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@push.rocks/npmextra',
|
||||
version: '5.0.10',
|
||||
version: '5.0.11',
|
||||
description: 'do more with npm'
|
||||
}
|
||||
|
@ -170,7 +170,8 @@ export class KeyValueStore<T = any> {
|
||||
keys.forEach(key => this.mandatoryKeys.add(key));
|
||||
}
|
||||
|
||||
public getMissingMandatoryKeys(): string[] {
|
||||
public async getMissingMandatoryKeys(): Promise<string[]> {
|
||||
await this.readAll();
|
||||
return Array.from(this.mandatoryKeys).filter(key => !(key in this.dataObject));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user