From 82f1c3071ae9dae6a44eb817175a17dadd183356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B3=BD=E7=86=99?= Date: Mon, 3 Oct 2016 18:36:54 +0800 Subject: [PATCH] Program syntax error if drop.config.environment == .production { ... } ------------------------------------------- if drop.environment == .production { ... } --- guide/droplet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/droplet.md b/guide/droplet.md index 4c15349e..eb7f3abf 100644 --- a/guide/droplet.md +++ b/guide/droplet.md @@ -27,7 +27,7 @@ Creation of the `Droplet` normally happens in the `main.swift` file. The `environment` property contains the current environment your application is running in. Usually development, testing, or production. ```swift -if drop.config.environment == .production { +if drop.environment == .production { ... } ```