From eb3457a35e5f71b21dc6f6a4fafa677323874190 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sat, 17 Oct 2020 17:44:09 +0200 Subject: [PATCH] [#556] remove warning --- .../babashka/impl/httpkit_server.clj | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/feature-httpkit-server/babashka/impl/httpkit_server.clj b/feature-httpkit-server/babashka/impl/httpkit_server.clj index 6e424392..f7e1935c 100644 --- a/feature-httpkit-server/babashka/impl/httpkit_server.clj +++ b/feature-httpkit-server/babashka/impl/httpkit_server.clj @@ -2,17 +2,7 @@ (:require [org.httpkit.server :as server] [sci.core :as sci :refer [copy-var]])) -(def warning - "WARNING: the org.httpkit.server namespace is experimental and may sat or be removed in future versions of babashka, depending on feedback from the community. -Please leave a note at https://github.com/borkdude/babashka/issues/556 to let us know how you are using it. -You can turn this warning off using -Dbabashka.httpkit-server.warning=false -This namespace will remain available under a feature flag, see https://github.com/borkdude/babashka/blob/master/doc/build.md#feature-flags") - -(def sns (sci/create-ns 'org.httpkit.server - {:sci.impl/required-fn (fn [_] - (when-not (= "false" (System/getProperty "babashka.httpkit-server.warning")) - (binding [*out* @sci/err] - (println warning))))})) +(def sns (sci/create-ns 'org.httpkit.server nil)) (def httpkit-server-namespace {:obj sns