Skip to content

Commit

Permalink
Notify when the project type does not support import-files, fixes #1416
Browse files Browse the repository at this point in the history
… (#1420)
  • Loading branch information
rfay committed Feb 4, 2019
1 parent 5d1bac2 commit 4ddce0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ddevapp/apptypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func (app *DdevApp) ImportFilesAction(importPath, extPath string) error {
return appFuncs.importFilesAction(app, importPath, extPath)
}

return nil
return fmt.Errorf("this project type (%s) does not support import-files", app.Type)
}

// DefaultWorkingDirMap returns the app type's default working directory map.
Expand Down

0 comments on commit 4ddce0e

Please sign in to comment.