mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
command/remote-config: remove weird error case that shows no error
message /cc @sethvargo
This commit is contained in:
parent
4184570cbd
commit
35da19cc1f
@ -44,12 +44,6 @@ func (c *RemoteConfigCommand) Run(args []string) int {
|
||||
return 1
|
||||
}
|
||||
|
||||
// Show help if given no inputs
|
||||
if !c.conf.disableRemote && c.remoteConf.Type == "atlas" && len(config) == 0 {
|
||||
cmdFlags.Usage()
|
||||
return 1
|
||||
}
|
||||
|
||||
// Set the local state path
|
||||
c.statePath = c.conf.statePath
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user