-
Notifications
You must be signed in to change notification settings - Fork 5
strict syntax compatibility #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
3d4d23f
fd489a3
b802b40
a613242
cf0aad0
a9b0127
5573623
fd9b2bb
565ee11
9b1caa6
a52b38e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| import java.nio.file.Path | ||
| import groovy.transform.CompileDynamic | ||
|
|
||
| /** | ||
| * Utility functions for testing. | ||
| */ | ||
| @CompileDynamic | ||
| class Utils { | ||
|
|
||
| static Object getRecursiveFileNames(Path fileOrDir, String outputDir) { | ||
| /* groovylint-disable-next-line UnnecessaryGetter */ | ||
| if (Path.of(fileOrDir.toString()).toFile().isDirectory()) { | ||
| return fileOrDir.list().collect { file -> getRecursiveFileNames(file, outputDir) } | ||
| } | ||
| return fileOrDir.toString().replace("${outputDir}/", '') | ||
| } | ||
|
|
||
| } |
Uh oh!
There was an error while loading. Please reload this page.