getProjectPathForScope method

String? getProjectPathForScope(
  1. PluginScope scope
)

Get the project path for scopes that are project-specific.

Implementation

String? getProjectPathForScope(PluginScope scope) {
  return (scope == PluginScope.project || scope == PluginScope.local)
      ? getOriginalCwd()
      : null;
}