Add logs for early exit when writing token to manifest
Summary: ^ Reviewed By: aigoncharov Differential Revision: D51154908 fbshipit-source-id: 0c04ee50d07db1478ec5a77faa6d6157b7c9960b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d54bd7c3ba
commit
69378c4b09
@@ -306,6 +306,10 @@ const exportTokenToManifest = async (token: string) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!config || !config.environmentInfo.isHeadlessBuild) {
|
if (!config || !config.environmentInfo.isHeadlessBuild) {
|
||||||
|
console.warn(
|
||||||
|
'No configuration or not headless build detected, skipping exporting token to manifest',
|
||||||
|
config,
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user