 }
 
 // exit if bootstrap is cached
-if bootstrapCommand && cacheAvailable() {
+let hasCachedItems = cacheAvailable()
+if bootstrapCommand && hasCachedItems {
     print("Cache available for bootstrap command, exiting. If you would like to update your Carthage contents, select `update` as Carthage command and re-run your build.")
     exit(0)
 }

}

func contentsOfCartfileResolved() -> String? {
    guard let cartfileResolvedData = NSFileManager.defaultManager().contentsAtPath("\(workingDir)/Cartfile.resolved") else {
        return nil
    }
    

        return false
    }

    guard let newCacheContents = cacheContents() else {
        return false
    }
    
