Skip to content

[code_assets] Document the asset file paths better #2711

@dcharkes

Description

@dcharkes

We should have docs on the assets.add that the path to the asset should be made as a input.packageRoot.relativeTo - currently it just throws saying the path must be absolute when passing a relative path. But we don't want users to actually put hardcoded absolute paths of the kind /home/.../something.txt

  • tweak error message
  • api docs

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions