mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-22 06:59:30 -06:00
server: output json (including subfolders)
This commit is contained in:
@@ -51,7 +51,7 @@ module.exports =
|
||||
@_err("ERROR_WRITING_FILE", file, err)
|
||||
|
||||
_write: (file, obj = {}) ->
|
||||
fs.writeJsonAsync(file, obj, {spaces: 2})
|
||||
fs.outputJsonAsync(file, obj, {spaces: 2})
|
||||
.return(obj)
|
||||
.catch (err) =>
|
||||
@_logWriteErr(file, err)
|
||||
|
||||
Reference in New Issue
Block a user