diff --git a/cli/install.go b/cli/install.go index 49b3be1..2756bf5 100644 --- a/cli/install.go +++ b/cli/install.go @@ -103,7 +103,9 @@ func (in *install) installer(rep repo.FS, fileList **os.File) installer.Installe writ := installer.StepWriter(stepwriter.OS{}) if in.DryRun { - writ = stepwriter.DryRun{} + writ = stepwriter.DryRun{ + FS: repo.NewOSFS(in.Directory), + } } opts := []installer.Option{ installer.WithCommonVars(envVars()),