command: default path should be the local path
This commit is contained in:
parent
f81110c2fe
commit
4f91b98a3e
|
@ -174,8 +174,13 @@ func (m *Meta) State() (state.State, error) {
|
|||
return m.state, nil
|
||||
}
|
||||
|
||||
path := m.statePath
|
||||
if path == "" {
|
||||
path = DefaultStateFilename
|
||||
}
|
||||
|
||||
state, statePath, err := State(&StateOpts{
|
||||
LocalPath: m.statePath,
|
||||
LocalPath: path,
|
||||
LocalPathOut: m.stateOutPath,
|
||||
BackupPath: m.backupPath,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue