From 741751e6c9511fbbffb16133e54d5f37b53afc68 Mon Sep 17 00:00:00 2001 From: Wanli Song Date: Mon, 24 Feb 2020 16:41:56 +0800 Subject: [PATCH] Update NaiveUIDocLoader.js --- demo/loaders/NaiveUIDocLoader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/loaders/NaiveUIDocLoader.js b/demo/loaders/NaiveUIDocLoader.js index d5a770e75..be0fb0dea 100644 --- a/demo/loaders/NaiveUIDocLoader.js +++ b/demo/loaders/NaiveUIDocLoader.js @@ -1,6 +1,6 @@ const convertMd2Doc = require('./convertMd2Doc') module.exports = function (content) { - let env = process.env.NODE_ENV + const env = process.env.NODE_ENV return convertMd2Doc(content, env) }