Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5455b68

Browse files
kevinohara80filipesperandio
authored andcommitted
adds support for apex classes#26 (#29)
Currently, Salesforce developers cannot use CodeClimate despite CodeClimate having PMD as a plugin. This is because the PMD plugin filters out all files that are not Java (.java). This patch allows for the Apex class extension to be processed as well (.cls).Related to#26
1 parent565e639 commit5455b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Config.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Config {
7878
def i= files.iterator()
7979
while(i.hasNext()) {
8080
def name= i.next()
81-
if(!name.endsWith(".java")) {
81+
if(!name.endsWith(".java")&&!name.endsWith(".cls")) {
8282
i.remove()
8383
}
8484
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp