(onFulfilled, onRejected)
| 437 | } |
| 438 | |
| 439 | then(onFulfilled, onRejected) { |
| 440 | if (process.env.NODE_ENV !== 'production') { |
| 441 | if (!('from' in this.opts)) { |
| 442 | warnOnce( |
| 443 | 'Without `from` option PostCSS could generate wrong source map ' + |
| 444 | 'and will not find Browserslist config. Set it to CSS file path ' + |
| 445 | 'or to `undefined` to prevent this warning.' |
| 446 | ) |
| 447 | } |
| 448 | } |
| 449 | return this.async().then(onFulfilled, onRejected) |
| 450 | } |
| 451 | |
| 452 | toString() { |
| 453 | return this.css |
no test coverage detected