()
| 157 | } |
| 158 | |
| 159 | get fullPath() : string { |
| 160 | let dir = this.path; |
| 161 | |
| 162 | // Compose up via node-pty |
| 163 | let fullPathDir; |
| 164 | |
| 165 | // if dir is relative, make it absolute |
| 166 | if (!path.isAbsolute(dir)) { |
| 167 | fullPathDir = path.join(process.cwd(), dir); |
| 168 | } else { |
| 169 | fullPathDir = dir; |
| 170 | } |
| 171 | return fullPathDir; |
| 172 | } |
| 173 | |
| 174 | /** |
| 175 | * Save the stack to the disk |