Skip to content

Commit

Permalink
Detect windows also with ssh transport
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Scherer <[email protected]>
  • Loading branch information
StefanScherer committed Mar 6, 2019
1 parent a585b0a commit b3cdb9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/train/platforms/detect/specifications/os.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ def self.load
is_windows = true if ruby_host_os(/mswin|mingw32|windows/)
end

# Try to detect windows even for ssh transport
if !is_windows && detect_windows == true
is_windows = true
end

is_windows
}
# windows platform
Expand Down

0 comments on commit b3cdb9a

Please sign in to comment.