(node)
| 325 | } |
| 326 | |
| 327 | sourcePath(node) { |
| 328 | if (this.mapOpts.from) { |
| 329 | return this.toUrl(this.mapOpts.from) |
| 330 | } else if (this.usesFileUrls) { |
| 331 | return this.toFileUrl(node.source.input.from) |
| 332 | } else { |
| 333 | return this.toUrl(this.path(node.source.input.from)) |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | toBase64(str) { |
| 338 | if (Buffer) { |
no test coverage detected