@dboio/cli 0.9.2 → 0.9.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dboio/cli",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "CLI for the DBO.io framework",
5
5
  "type": "module",
6
6
  "bin": {
@@ -738,8 +738,12 @@ async function checkPathMismatch(meta, metaPath, options) {
738
738
 
739
739
  if (!contentFileName) return;
740
740
 
741
- // Compute the current path based on where the file actually is
742
- const currentFilePath = join(metaDir, contentFileName);
741
+ // Compute the current path based on where the file actually is.
742
+ // Strip the ~UID from the filename — the metadata Path is the canonical
743
+ // server path and never contains the local ~UID suffix.
744
+ const uid = meta.UID;
745
+ const serverFileName = uid ? stripUidFromFilename(contentFileName, uid) : contentFileName;
746
+ const currentFilePath = join(metaDir, serverFileName);
743
747
  const currentRelPath = relative(process.cwd(), currentFilePath);
744
748
 
745
749
  // Normalize both paths for comparison