@mdfriday/foundry 26.4.14 → 26.4.16
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/dist/cli.js
CHANGED
|
@@ -2569,7 +2569,7 @@ var init_user_factory = __esm({
|
|
|
2569
2569
|
async load() {
|
|
2570
2570
|
try {
|
|
2571
2571
|
const userData = await this.storageProvider.loadUserData();
|
|
2572
|
-
if (!userData
|
|
2572
|
+
if (!userData) {
|
|
2573
2573
|
log4.debug("No user data found in storage");
|
|
2574
2574
|
return null;
|
|
2575
2575
|
}
|
|
@@ -3860,7 +3860,13 @@ var init_workspace_factory = __esm({
|
|
|
3860
3860
|
log5.warn("Symlink creation failed, falling back to file copy", { error });
|
|
3861
3861
|
try {
|
|
3862
3862
|
await this.fileSystemRepo.copyFile(sourceFilePath, targetFilePath);
|
|
3863
|
-
|
|
3863
|
+
useSymlink = false;
|
|
3864
|
+
fileLink = { source: sourceFilePath, target: targetFilePath };
|
|
3865
|
+
log5.info("Copied file as fallback", {
|
|
3866
|
+
source: sourceFilePath,
|
|
3867
|
+
target: targetFilePath,
|
|
3868
|
+
isSymlink: false
|
|
3869
|
+
});
|
|
3864
3870
|
} catch (copyError) {
|
|
3865
3871
|
log5.error("Failed to copy file", copyError);
|
|
3866
3872
|
throw new Error(`Failed to create file link or copy: ${copyError.message}`);
|
|
@@ -55315,7 +55321,7 @@ For more information, visit: https://help.mdfriday.com
|
|
|
55315
55321
|
* Show version
|
|
55316
55322
|
*/
|
|
55317
55323
|
showVersion() {
|
|
55318
|
-
const version = "26.4.
|
|
55324
|
+
const version = "26.4.16";
|
|
55319
55325
|
return {
|
|
55320
55326
|
success: true,
|
|
55321
55327
|
message: `MDFriday CLI v${version}`
|