* Adds raw text to the summary buffer * * @param {string} text content to add * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false) * * @returns {Summary} summary instance
(text, addEOL = false)
| 19654 | try { |
| 19655 | yield access(pathFromEnv, import_fs.constants.R_OK | import_fs.constants.W_OK); |
| 19656 | } catch (_a) { |
| 19657 | throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`); |
| 19658 | } |
| 19659 | this._filePath = pathFromEnv; |
| 19660 | return this._filePath; |
| 19661 | }); |
| 19662 | } |
no test coverage detected