mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-26 20:24:42 +01:00
Format with dart 3.0.1 (#1967)
This commit is contained in:
parent
17f7fab482
commit
cb039c7efd
@ -389,11 +389,11 @@ String compileString(String source,
|
||||
Object? url,
|
||||
bool quietDeps = false,
|
||||
bool verbose = false,
|
||||
@Deprecated("Use CompileResult.sourceMap from compileStringToResult() instead.")
|
||||
@Deprecated(
|
||||
"Use CompileResult.sourceMap from compileStringToResult() instead.")
|
||||
void sourceMap(SingleMapping map)?,
|
||||
bool charset = true,
|
||||
@Deprecated("Use syntax instead.")
|
||||
bool indented = false}) {
|
||||
@Deprecated("Use syntax instead.") bool indented = false}) {
|
||||
var result = compileStringToResult(source,
|
||||
syntax: syntax ?? (indented ? Syntax.sass : Syntax.scss),
|
||||
logger: logger,
|
||||
@ -430,7 +430,8 @@ Future<String> compileAsync(String path,
|
||||
OutputStyle? style,
|
||||
bool quietDeps = false,
|
||||
bool verbose = false,
|
||||
@Deprecated("Use CompileResult.sourceMap from compileToResultAsync() instead.")
|
||||
@Deprecated(
|
||||
"Use CompileResult.sourceMap from compileToResultAsync() instead.")
|
||||
void sourceMap(SingleMapping map)?}) async {
|
||||
var result = await compileToResultAsync(path,
|
||||
logger: logger,
|
||||
@ -467,11 +468,11 @@ Future<String> compileStringAsync(String source,
|
||||
Object? url,
|
||||
bool quietDeps = false,
|
||||
bool verbose = false,
|
||||
@Deprecated("Use CompileResult.sourceMap from compileStringToResultAsync() instead.")
|
||||
@Deprecated(
|
||||
"Use CompileResult.sourceMap from compileStringToResultAsync() instead.")
|
||||
void sourceMap(SingleMapping map)?,
|
||||
bool charset = true,
|
||||
@Deprecated("Use syntax instead.")
|
||||
bool indented = false}) async {
|
||||
@Deprecated("Use syntax instead.") bool indented = false}) async {
|
||||
var result = await compileStringToResultAsync(source,
|
||||
syntax: syntax ?? (indented ? Syntax.sass : Syntax.scss),
|
||||
logger: logger,
|
||||
|
Loading…
Reference in New Issue
Block a user