Skip to content

Commit

Permalink
Fix wrong dir creation of sync dir, fixes #2389 (#2401)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Jul 20, 2020
1 parent 4c960b9 commit 50968eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ddevapp/drupal.go
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ func createDrupal8SyncDir(app *DdevApp) error {
// we may want to do some kind of customization in the future.
drupalConfig := NewDrupalSettings(app)

syncDirPath := path.Join(app.GetAppRoot(), app.GetDocroot(), drupalConfig.SyncDir)
syncDirPath := path.Join(app.GetAppRoot(), app.GetDocroot(), "sites/default", drupalConfig.SyncDir)
if fileutil.FileExists(syncDirPath) {
return nil
}
Expand Down

0 comments on commit 50968eb

Please sign in to comment.