Skip to content

PublishingContext.OutputPath should point to fully qualified path #9346

@captainsafia

Description

@captainsafia

Currently, the PublishingContext.OutputPath is derived directly from the value based via options:

var context = new PublishingContext(model, executionContext, serviceProvider, logger, cancellationToken, options.Value.OutputPath);

That means when a user passes a relative path (--output-path=./output) the value will be set as a relative path and any callers will have to fully qualify it. We should consider fully qualifying the path if it is a relative path.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions