This commit is contained in:
2024-02-23 22:54:57 +02:00
parent 06220ba866
commit db1307a188
2 changed files with 5 additions and 5 deletions

View File

@@ -286,7 +286,7 @@ class ScriptRunnerShellConfig {
}
}
/// The current OS of the system, of those supported by [ScriptRunner]
/// The current OS of the system, of those supported by [RunnableScript]
OS get os {
if (Platform.isWindows) {
return OS.windows;

View File

@@ -36,15 +36,15 @@ class RunnableScript {
/// The script loader pre-loads these as temporary aliases to allow combined scripts to be run.
List<RunnableScript> preloadScripts = [];
/// When set to [false], the command will not print "$ ..." before running the command.
/// When set to `false`, the command will not print "$ ..." before running the command.
/// This is useful for using the output in other scripts.
///
/// Defaults to [true].
/// Defaults to `true`.
final bool displayCmd;
/// When set to [true], the command will end with a newline. This is useful for using the output in other scripts.
/// When set to `true`, the command will end with a newline. This is useful for using the output in other scripts.
///
/// Defaults to [false].
/// Defaults to `false`.
final bool appendNewline;
FileSystem _fileSystem;