Skip to content

Commit 1107e7c

Browse files
committed
JS: Rename other uses of getURL
1 parent 8866720 commit 1107e7c

File tree

1 file changed

+2
-2
lines changed
  • javascript/ql/src/semmle/javascript

1 file changed

+2
-2
lines changed

javascript/ql/src/semmle/javascript/NPM.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class ContributorInfo extends JSONValue {
233233
}
234234

235235
/** Gets the contributor's homepage URL. */
236-
string getURL() {
236+
string getUrl() {
237237
result = this.(JSONObject).getPropStringValue("url") or
238238
result = parseInfo(3)
239239
}
@@ -249,7 +249,7 @@ class RepositoryInfo extends JSONObject {
249249
string getType() { result = getPropStringValue("type") }
250250

251251
/** Gets the repository URL. */
252-
string getURL() { result = getPropStringValue("url") }
252+
string getUrl() { result = getPropStringValue("url") }
253253
}
254254

255255
/**

0 commit comments

Comments
 (0)