diff --git a/lib/train/file/remote/windows.rb b/lib/train/file/remote/windows.rb index 6e07240b..ab8070da 100644 --- a/lib/train/file/remote/windows.rb +++ b/lib/train/file/remote/windows.rb @@ -39,7 +39,7 @@ def owner end def type - if attributes.include?('Archive') + if attributes.include?('Archive') && !attributes.include?('Directory') return :file elsif attributes.include?('ReparsePoint') return :symlink