Skip to content

Commit

Permalink
Fix trying to open every file as a repo (close #621) (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbausch authored and JohnstonCode committed Jul 1, 2019
1 parent 629df3c commit 4d45079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export class Model implements IDisposable {

const checkParent = level === 0;

if (isSvnFolder(path, checkParent)) {
if (await isSvnFolder(path, checkParent)) {
// Config based on folder path
const resourceConfig = workspace.getConfiguration("svn", Uri.file(path));

Expand Down

0 comments on commit 4d45079

Please sign in to comment.