From e705ca461a1e59a02c83d58e276fa03820def4e9 Mon Sep 17 00:00:00 2001 From: Daniel Leping Date: Fri, 4 Mar 2016 15:30:25 +0200 Subject: [PATCH] fixed return type --- Express/Static.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Express/Static.swift b/Express/Static.swift index 5f66245..9bac9bf 100644 --- a/Express/Static.swift +++ b/Express/Static.swift @@ -40,7 +40,7 @@ public class StaticFileProvider : StaticDataProviderType { return root.bridge().stringByAppendingPathComponent(file) } - private func attributes(file:String) throws -> [String : AnyObject] { + private func attributes(file:String) throws -> [String : Any] { do { return try self.fm.attributesOfItemAtPath(file) } catch {