Skip to content

Commit 8ba080c

Browse files
unstaged file from previous commit
1 parent 79afb15 commit 8ba080c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/commons/gitHubOverlay/FileExplorerDialog.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -171,17 +171,6 @@ const FileExplorerDialog: React.FC<FileExplorerDialogProps> = props => {
171171
}
172172

173173
if (saveType === 'Create') {
174-
const persistenceFile = getPersistenceFile(filePath);
175-
if (persistenceFile === undefined) {
176-
throw new Error('persistence file not found for this filepath: ' + filePath);
177-
}
178-
const parentFolderPath = persistenceFile.parentFolderPath;
179-
if (parentFolderPath === undefined) {
180-
throw new Error(
181-
'repository name or parentfolderpath not found for this persistencefile: ' +
182-
persistenceFile
183-
);
184-
}
185174
performCreatingSave(
186175
props.octokit,
187176
githubLoginID,

0 commit comments

Comments
 (0)