Skip to content

Commit cdf8196

Browse files
committed
🎨update tool env
1 parent fe989fb commit cdf8196

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

server/projects/main/apps/scan_conf/management/commands/open_source/flawfinder.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
],
1212
"scan_app": "codelint",
1313
"scm_url": "flawfinder",
14-
"run_cmd": "python main.py",
15-
"envs": "PYTHON_HOME = $PYTHON37_HOME\nPATH = $PYTHON_HOME/bin:$PATH",
14+
"run_cmd": "python3 main.py",
15+
"envs": "",
1616
"build_flag": false,
1717
"checkrule_set": [
1818
{

server/projects/main/apps/scan_conf/management/commands/open_source/ktlint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scan_app": "codelint",
1313
"scm_url": "custom-ktlint",
1414
"run_cmd": "python main.py",
15-
"envs": "PYTHON_HOME = $PYTHON37_HOME\nPATH = $PYTHON_HOME/bin:$PATH",
15+
"envs": "",
1616
"build_flag": false,
1717
"checkrule_set": [
1818
{

server/projects/main/apps/scan_conf/management/commands/open_source/kunlunM.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scan_app": "codelint",
1212
"scm_url": "common-kunlun",
1313
"run_cmd": "python main.py",
14-
"envs": "python_version = 3",
14+
"envs": "",
1515
"build_flag": false,
1616
"checkrule_set": [
1717
{

server/projects/main/apps/scan_conf/management/commands/open_source/phpcs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scan_app": "codelint",
1313
"scm_url": "custom-phpcs",
1414
"run_cmd": "python main.py",
15-
"envs": "python_version=3",
15+
"envs": "",
1616
"build_flag": false,
1717
"checkrule_set": [
1818
{

server/projects/main/apps/scan_conf/management/commands/open_source/semgrep.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scan_app": "codelint",
1313
"scm_url": "custom-semgrep",
1414
"run_cmd": "python main.py",
15-
"envs": "python_version = 3",
15+
"envs": "",
1616
"build_flag": false,
1717
"checkrule_set": [
1818
{

server/projects/main/apps/scan_conf/management/commands/open_source/sqlcheck.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scan_app": "codelint",
1212
"scm_url": "tca_plugin_sqlcheck",
1313
"run_cmd": "python src/main.py scan",
14-
"envs": "python_version = 3",
14+
"envs": "",
1515
"build_flag": false,
1616
"checkrule_set": [
1717
{

0 commit comments

Comments
 (0)