-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent saving files outside of the project folder
adeira-source-id: 0de7465c2aa2b2e13ea1622f8f8a14bcba590daf
- Loading branch information
1 parent
25da75f
commit 191c550
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@triplex/electron": patch | ||
--- | ||
|
||
Saving files outside of the project folder is now presented with an error | ||
message instead of an exception. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Saving Outside Of The Project Folder | ||
--- | ||
|
||
Files can only be saved and opened within the opened project folder, this is | ||
because Triplex is scoped to the project folder exclusively and can't access | ||
anything outside it. | ||
|
||
To resolve this error instead save the file within the project folder. |