Skip to content
Merged
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ParseFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ class ParseFile {
*/
destroy() {
if (!this._name) {
throw new Error('Cannot delete an unsaved ParseFile.');
throw new Error('Cannot delete an unnamed file.');
}
const controller = CoreManager.getFileController();
return controller.deleteFile(this._name).then(() => {
Expand Down