fix(topdata): drop misleading SkipLFS option field; --skip-lfs sets env directly
CRUCIBLE_SKIP_LFS env is the single skip mechanism; BuildAndPackageOptions had a dead SkipLFS field that implied the option propagated through the build API but was only ever env-bridged in the CLI run functions. Replace the struct field with a local buildTopDataArgs wrapper and set the env at the CLI entry point directly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -76,7 +76,8 @@ func BuildAndPackage(p *project.Project, progress func(string)) (PackageResult,
|
||||
type BuildAndPackageOptions struct {
|
||||
Force bool
|
||||
BuildWiki bool
|
||||
SkipLFS bool
|
||||
// ponytail: no SkipLFS field — CRUCIBLE_SKIP_LFS env is the single skip mechanism;
|
||||
// the CLI flag sets it directly before calling into this package.
|
||||
}
|
||||
|
||||
func BuildAndPackageWithOptions(p *project.Project, opts BuildAndPackageOptions, progress func(string)) (PackageResult, error) {
|
||||
|
||||
Reference in New Issue
Block a user