Skip to content

Commit

Permalink
Minor change [ci fast]
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Oct 30, 2023
1 parent 610d8bf commit dd154a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ class PublishDir {
final file = workDir.resolve('.fusion.symlinks')
return file.text.tokenize('\n')
}
catch( NoSuchFileException ) {
return []
catch( NoSuchFileException e ) {
return List.of()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,8 @@ class TaskRun implements Cloneable {
*/
Map<String,Path> getInputFilesMap() {

def result = [:]
def allFiles = getInputFiles().values()
final allFiles = getInputFiles().values()
final result = new HashMap<String,Path>(allFiles.size())
for( List<FileHolder> entry : allFiles ) {
if( entry ) for( FileHolder it : entry ) {
result[ it.stageName ] = it.storePath
Expand Down

0 comments on commit dd154a0

Please sign in to comment.