Fix a bug in the build process
Fixes TypeError: Cannot read properties of undefined (reading 'toFixed')
This commit is contained in:
parent
fe6fdd3ff6
commit
a68424658a
1 changed files with 3 additions and 1 deletions
|
@ -108,7 +108,9 @@ async function getWatch() {
|
||||||
result = await getSymlinks(path, { nodir: true }, signatures);
|
result = await getSymlinks(path, { nodir: true }, signatures);
|
||||||
}
|
}
|
||||||
|
|
||||||
onSuccess(result);
|
if (result) {
|
||||||
|
onSuccess(result);
|
||||||
|
}
|
||||||
onSuccess(await cleanUp(signatures));
|
onSuccess(await cleanUp(signatures));
|
||||||
|
|
||||||
if (shouldAddOmni && result.outFiles?.length) {
|
if (shouldAddOmni && result.outFiles?.length) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue