Kaynağa Gözat

suppress warnings with RUBYOPT prefix in package.json commands (#314)

Doug Webb 3 yıl önce
ebeveyn
işleme
724ded359c
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      package.json

+ 2 - 2
package.json

@@ -32,8 +32,8 @@
     "node": ">=0.10.3"
     "node": ">=0.10.3"
   },
   },
   "scripts": {
   "scripts": {
-    "build": "bundle exec jekyll build",
-    "dev": "bundle exec jekyll serve -w",
+    "build": "RUBYOPT='-W0' bundle exec jekyll build",
+    "dev": "RUBYOPT='-W0' bundle exec jekyll serve -w",
     "contributors:add": "all-contributors add",
     "contributors:add": "all-contributors add",
     "contributors:generate": "all-contributors generate"
     "contributors:generate": "all-contributors generate"
   },
   },