Format with dart 3.0.1 (#1967)

This commit is contained in:
なつき 2023-05-17 13:09:54 -07:00 committed by GitHub
parent 17f7fab482
commit cb039c7efd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -337,7 +337,7 @@ String compile(String path,
bool quietDeps = false, bool quietDeps = false,
bool verbose = false, bool verbose = false,
@Deprecated("Use CompileResult.sourceMap from compileToResult() instead.") @Deprecated("Use CompileResult.sourceMap from compileToResult() instead.")
void sourceMap(SingleMapping map)?, void sourceMap(SingleMapping map)?,
bool charset = true}) { bool charset = true}) {
var result = compileToResult(path, var result = compileToResult(path,
logger: logger, logger: logger,
@ -389,11 +389,11 @@ String compileString(String source,
Object? url, Object? url,
bool quietDeps = false, bool quietDeps = false,
bool verbose = false, bool verbose = false,
@Deprecated("Use CompileResult.sourceMap from compileStringToResult() instead.") @Deprecated(
void sourceMap(SingleMapping map)?, "Use CompileResult.sourceMap from compileStringToResult() instead.")
void sourceMap(SingleMapping map)?,
bool charset = true, bool charset = true,
@Deprecated("Use syntax instead.") @Deprecated("Use syntax instead.") bool indented = false}) {
bool indented = false}) {
var result = compileStringToResult(source, var result = compileStringToResult(source,
syntax: syntax ?? (indented ? Syntax.sass : Syntax.scss), syntax: syntax ?? (indented ? Syntax.sass : Syntax.scss),
logger: logger, logger: logger,
@ -430,8 +430,9 @@ Future<String> compileAsync(String path,
OutputStyle? style, OutputStyle? style,
bool quietDeps = false, bool quietDeps = false,
bool verbose = false, bool verbose = false,
@Deprecated("Use CompileResult.sourceMap from compileToResultAsync() instead.") @Deprecated(
void sourceMap(SingleMapping map)?}) async { "Use CompileResult.sourceMap from compileToResultAsync() instead.")
void sourceMap(SingleMapping map)?}) async {
var result = await compileToResultAsync(path, var result = await compileToResultAsync(path,
logger: logger, logger: logger,
importers: importers, importers: importers,
@ -467,11 +468,11 @@ Future<String> compileStringAsync(String source,
Object? url, Object? url,
bool quietDeps = false, bool quietDeps = false,
bool verbose = false, bool verbose = false,
@Deprecated("Use CompileResult.sourceMap from compileStringToResultAsync() instead.") @Deprecated(
void sourceMap(SingleMapping map)?, "Use CompileResult.sourceMap from compileStringToResultAsync() instead.")
void sourceMap(SingleMapping map)?,
bool charset = true, bool charset = true,
@Deprecated("Use syntax instead.") @Deprecated("Use syntax instead.") bool indented = false}) async {
bool indented = false}) async {
var result = await compileStringToResultAsync(source, var result = await compileStringToResultAsync(source,
syntax: syntax ?? (indented ? Syntax.sass : Syntax.scss), syntax: syntax ?? (indented ? Syntax.sass : Syntax.scss),
logger: logger, logger: logger,