add basepath along with filepath into yaml comment (#460)

* add basepath along with filepath into yaml comment

Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com>
This commit is contained in:
Quan TRAN
2022-10-25 17:44:28 +08:00
committed by GitHub
parent 4a5928e269
commit 2702161e74
3 changed files with 40 additions and 1 deletions
+1 -1
View File
@@ -543,7 +543,7 @@ func (a *App) PrintState(c StateConfigProvider) error {
return
}
fmt.Printf("---\n# Source: %s\n\n%+v", run.state.FilePath, stateYaml)
fmt.Printf("---\n# Source: %s\n\n%+v", run.state.FullFilePath(), stateYaml)
errs = []error{}
})