Update return value documentation to actual behavior
This commit is contained in:
parent
98ec1af30e
commit
0dbd8538a0
|
@ -51,7 +51,8 @@ module Vagrant
|
||||||
# Execute a powershell command.
|
# Execute a powershell command.
|
||||||
#
|
#
|
||||||
# @param [String] command PowerShell command to execute.
|
# @param [String] command PowerShell command to execute.
|
||||||
# @return [Subprocess::Result]
|
# @return [nil, String] Returns nil if exit code is non-zero.
|
||||||
|
# Returns stdout string if exit code is zero.
|
||||||
def self.execute_cmd(command)
|
def self.execute_cmd(command)
|
||||||
validate_install!
|
validate_install!
|
||||||
c = [
|
c = [
|
||||||
|
|
Loading…
Reference in New Issue