return the file path in the output file list for easy lookup
This commit is contained in:
@@ -34,6 +34,7 @@ module.exports = CompileController =
|
||||
error: error?.message or error
|
||||
outputFiles: outputFiles.map (file) ->
|
||||
url: "#{Settings.apis.clsi.url}/project/#{request.project_id}/output/#{file.path}"
|
||||
path: file.path
|
||||
type: file.type
|
||||
build: file.build
|
||||
}
|
||||
|
||||
@@ -76,6 +76,7 @@ describe "CompileController", ->
|
||||
error: null
|
||||
outputFiles: @output_files.map (file) =>
|
||||
url: "#{@Settings.apis.clsi.url}/project/#{@project_id}/output/#{file.path}"
|
||||
path: file.path
|
||||
type: file.type
|
||||
build: file.build
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user