Skip to content

Commit b3a3957

Browse files
authored
Merge pull request #11741 from github/calumgrant/remove-lgtm
Remove references to LGTM in code
2 parents dcd0be0 + ad55706 commit b3a3957

File tree

19 files changed

+29
-28
lines changed

19 files changed

+29
-28
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
window.parent.postMessage(userName, 'https://lgtm.com');
1+
window.parent.postMessage(userName, 'https://github.com');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| webview.js:6:12:6:56 | <WebVie ... om'}}/> |
1+
| webview.js:6:12:6:58 | <WebVie ... om'}}/> |
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { Component } from 'react';
22
import { WebView } from 'react-native';
33

4-
class LgtmView extends Component {
4+
class CodeQLView extends Component {
55
render() {
6-
return <WebView source={{uri: 'https://lgtm.com'}}/>;
6+
return <WebView source={{uri: 'https://github.com'}}/>;
77
}
88
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
window.parent.postMessage(userName, 'https://lgtm.com');
1+
window.parent.postMessage(userName, 'https://github.com');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function h() {
22
var href = window.location.href;
33
// OK
4-
window.location = "https://lgtm.com?" + href.substring(href.indexOf('?')+1);
4+
window.location = "https://github.com?" + href.substring(href.indexOf('?')+1);
55
}

javascript/ql/test/query-tests/Security/CWE-601/ClientSideUrlRedirect/tst8.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function k() {
22
var search = window.location.search.substr(1);
33
// OK
4-
window.location = "https://lgtm.com" + questionMark() + search;
4+
window.location = "https://github.com" + questionMark() + search;
55
}
66

77
function questionMark() {

python/ql/test/3/library-tests/PointsTo/typehints/Values.expected

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,10 @@
1919
| test.py:10:6:10:18 | test.py:10 | ControlFlowNode for Subscript | import | file://:0:0:0:0 | _Optional()[builtin-class int] |
2020
| test.py:10:15:10:17 | test.py:10 | ControlFlowNode for int | import | file://:0:0:0:0 | builtin-class int |
2121
| test.py:10:20:10:22 | test.py:10 | ControlFlowNode for int | import | file://:0:0:0:0 | builtin-class int |
22+
| test.py:12:1:12:12 | test.py:12 | ControlFlowNode for ClassExpr | import | test.py:12:1:12:12 | class baz |
23+
| test.py:15:7:15:10 | test.py:15 | ControlFlowNode for True | import | file://:0:0:0:0 | bool True |
24+
| test.py:16:11:16:13 | test.py:16 | ControlFlowNode for baz | import | file://:0:0:0:0 | class baz[class baz] |
25+
| test.py:16:11:16:13 | test.py:16 | ControlFlowNode for baz | import | test.py:12:1:12:12 | class baz |
26+
| test.py:16:11:16:18 | test.py:16 | ControlFlowNode for Subscript | import | file://:0:0:0:0 | class baz[class baz] |
27+
| test.py:16:15:16:17 | test.py:16 | ControlFlowNode for baz | import | file://:0:0:0:0 | class baz[class baz] |
28+
| test.py:16:15:16:17 | test.py:16 | ControlFlowNode for baz | import | test.py:12:1:12:12 | class baz |

python/ql/test/3/library-tests/PointsTo/typehints/test.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ def bar(s:set)->Set:
99
t1 = Optional[Optional[int]]
1010
t2 = Optional[int][int]
1111

12-
# ODASA-8075
13-
# Commented out until the fix has been pushed to LGTM.com
14-
#class baz():
15-
# pass
16-
#
17-
#while True:
18-
# baz = baz[baz]
12+
class baz():
13+
pass
14+
15+
while True:
16+
baz = baz[baz]

python/ql/test/library-tests/regex/charSetTest.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,12 @@
2525

2626
re.compile("]]][[[[]") #$ charSet=3:8
2727

28-
29-
#ODASA-3985
3028
#Half Surrogate pairs
3129
re.compile(u'[\uD800-\uDBFF][\uDC00-\uDFFF]') #$ charSet=0:5 charSet=5:10
3230
#Outside BMP
3331
re.compile(u'[\U00010000-\U0010ffff]') #$ charSet=0:5
3432

35-
#Misparsed on LGTM
33+
#Misparsed
3634
re.compile(r"\[(?P<txt>[^[]*)\]\((?P<uri>[^)]*)") #$ charSet=10:14 charSet=28:32
3735

3836
# parses wrongly, sees this \|/ as a char set start

python/ql/test/library-tests/regex/escapedCharacterTest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#Outside BMP
2222
re.compile(u'[\U00010000-\U0010ffff]') # not escapes
2323

24-
#Misparsed on LGTM
24+
#Misparsed
2525
re.compile(r"\[(?P<txt>[^[]*)\]\((?P<uri>[^)]*)") #$ escapedCharacter=0:2 escapedCharacter=16:18 escapedCharacter=18:20
2626

2727
#Non-raw string

0 commit comments

Comments
 (0)