diff --git a/internal/instructions/yamlfile.go b/internal/instructions/yamlfile.go index 9d76832..e06fd3a 100644 --- a/internal/instructions/yamlfile.go +++ b/internal/instructions/yamlfile.go @@ -114,6 +114,10 @@ func (yfs *YamlFiles) expandDirectories() error { var paths []string for i := 0; i <= len(y)-1; i++ { + if y[i].Path == "-" { + continue + } + if !path.IsAbs(y[i].Path) { y[i].Path = path.Join(viper.GetString("instructionsDir"), y[i].Path) }