mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-30 04:39:03 +01:00
Give the dummy Node.js FileSystemException a usable toString() (#407)
Closes #406
This commit is contained in:
parent
7a73e15693
commit
02781130b8
@ -1,5 +1,13 @@
|
|||||||
|
## 1.9.2
|
||||||
|
|
||||||
|
### Node JS API
|
||||||
|
|
||||||
|
* Produce more readable filesystem errors, such as when a file doesn't exist.
|
||||||
|
|
||||||
## 1.9.1
|
## 1.9.1
|
||||||
|
|
||||||
|
### Command-Line Interface
|
||||||
|
|
||||||
* Don't emit ANSI codes to Windows terminals that don't support them.
|
* Don't emit ANSI codes to Windows terminals that don't support them.
|
||||||
|
|
||||||
* Fix a bug where `--watch` crashed on Mac OS.
|
* Fix a bug where `--watch` crashed on Mac OS.
|
||||||
|
@ -67,6 +67,8 @@ class FileSystemException {
|
|||||||
final String path;
|
final String path;
|
||||||
|
|
||||||
FileSystemException._(this.message, this.path);
|
FileSystemException._(this.message, this.path);
|
||||||
|
|
||||||
|
String toString() => "${p.prettyUri(p.toUri(path))}: $message";
|
||||||
}
|
}
|
||||||
|
|
||||||
class Stderr {
|
class Stderr {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: sass
|
name: sass
|
||||||
version: 1.9.1
|
version: 1.9.2
|
||||||
description: A Sass implementation in Dart.
|
description: A Sass implementation in Dart.
|
||||||
author: Dart Team <misc@dartlang.org>
|
author: Dart Team <misc@dartlang.org>
|
||||||
homepage: https://github.com/sass/dart-sass
|
homepage: https://github.com/sass/dart-sass
|
||||||
|
Loading…
Reference in New Issue
Block a user