We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0363365 commit d9caa15Copy full SHA for d9caa15
pkg/standalone/common.go
@@ -54,7 +54,7 @@ func DefaultResourcesDirPath() string {
54
return path_filepath.Join(defaultDaprDirPath(), defaultResourcesDirName)
55
}
56
57
-// when either `components-path` or `resources-path` flags are not present then preference is given to resources dir and then components dir.
+// DefaultResourcesDirPrecedence returns the path to the resources directory if it exists, or otherwise the components directory.
58
// TODO: Remove this function and use `DefaultResourcesDirPath` when `--components-path` flag is removed.
59
func DefaultResourcesDirPrecedence() string {
60
defaultResourcesDirPath := DefaultResourcesDirPath()
0 commit comments