@gallop.software/studio 2.3.75 → 2.3.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4099,14 +4099,9 @@ async function handleCheckFeaturedImage() {
4099
4099
  } catch {
4100
4100
  }
4101
4101
  const expectedFilename = `${projectName}.jpg`;
4102
- const expectedPath = getPublicPath(expectedFilename);
4103
- let exists = false;
4104
- try {
4105
- await fs10.access(expectedPath);
4106
- exists = true;
4107
- } catch {
4108
- exists = false;
4109
- }
4102
+ const metaKey = `/${projectName}.jpg`;
4103
+ const meta = await loadMeta();
4104
+ const exists = metaKey in meta && !Array.isArray(meta[metaKey]);
4110
4105
  return jsonResponse({
4111
4106
  filename: expectedFilename,
4112
4107
  exists,