瀏覽代碼

Merge pull request #3964 from madmiraal/fix-lgtm-alerts

Fix lgtm alerts
Rémi Verschelde 5 年之前
父節點
當前提交
7312a542f5
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      _static/js/custom.js
  2. 1 1
      tutorials/plugins/gdnative/files/cpp_example/SConstruct

+ 1 - 1
_static/js/custom.js

@@ -115,7 +115,7 @@ const registerOnScrollEvent = (function(){
 
 
       $menu.scroll(function() {
       $menu.scroll(function() {
         handleSidebarScroll();
         handleSidebarScroll();
-      })
+      });
 
 
       handleMainScroll(window.scrollY);
       handleMainScroll(window.scrollY);
       handleSidebarScroll();
       handleSidebarScroll();

+ 1 - 1
tutorials/plugins/gdnative/files/cpp_example/SConstruct

@@ -1,5 +1,5 @@
 #!python
 #!python
-import os, subprocess
+import os
 
 
 opts = Variables([], ARGUMENTS)
 opts = Variables([], ARGUMENTS)