Fix LGTM errors.

This commit is contained in:
kovacsv 2022-04-16 10:10:12 +02:00
parent 3865c22ddb
commit 16e4870bdf
3 changed files with 3 additions and 6 deletions

View File

@ -3,3 +3,6 @@ path_classifiers:
- libs/*.js
- libs/loaders/*.js
- libs/three_loaders/*.js
test:
- test
- sandbox

View File

@ -1,6 +1,5 @@
import os
import sys
import json
import re
from lib import tools_lib as Tools

View File

@ -1,7 +1,6 @@
import os
import sys
import shutil
import json
pickrFileMap = [
[os.path.join ('@simonwep', 'pickr', 'LICENSE'), os.path.join ('pickr.license.md')],
@ -68,10 +67,6 @@ def Main (argv):
nodeModulesDir = os.path.join (rootDir, 'node_modules')
libsDir = os.path.join (rootDir, 'libs')
package = None
with open (os.path.join (rootDir, 'package.json')) as packageJson:
package = json.load (packageJson)
UpdateModule (pickrFileMap, nodeModulesDir, libsDir)
UpdateModule (threeJsFileMap, nodeModulesDir, libsDir)
UpdateModule (dracoFileMap, nodeModulesDir, libsDir)