🎨
This commit is contained in:
parent
08528f2251
commit
c9e7033fe4
1 changed files with 3 additions and 1 deletions
|
@ -457,7 +457,9 @@ export function readManifest(cwd = process.cwd(), nls = true): Promise<Manifest>
|
|||
})
|
||||
.then(validateManifest);
|
||||
|
||||
if (!nls) return manifest;
|
||||
if (!nls) {
|
||||
return manifest;
|
||||
}
|
||||
|
||||
const manifestNLS = readFile(manifestNLSPath, 'utf8')
|
||||
.catch<string>(err => err.code !== 'ENOENT' ? Promise.reject(err) : Promise.resolve('{}'))
|
||||
|
|
Loading…
Add table
Reference in a new issue