runBinstubSdkCheckCli function

void runBinstubSdkCheckCli()

Prints one WARNING: line to stderr when fdb's launcher was written for another Dart SDK. Never throws and never affects the exit code.

Implementation

void runBinstubSdkCheckCli() {
  try {
    final line = formatBinstubSdkMismatch(checkBinstubSdk(binstubSdkCheckInputFromPlatform()));
    if (line != null) stderr.writeln(line);
  } catch (_) {
    // Diagnostic only — must never break the actual command.
  }
}