From 48fc2ad6e8afb022f8454350e23122c3304451d1 Mon Sep 17 00:00:00 2001 From: Barna Kovacs Date: Fri, 26 Jul 2024 00:21:47 +0200 Subject: [PATCH] Fix typo and return value in doc (#626) --- lib/ecto/adapter/structure.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ecto/adapter/structure.ex b/lib/ecto/adapter/structure.ex index 1cbf6cc0..6f9c8b3d 100644 --- a/lib/ecto/adapter/structure.ex +++ b/lib/ecto/adapter/structure.ex @@ -49,12 +49,12 @@ defmodule Ecto.Adapter.Structure do Returns `{output, exit_status}` where `output` is a string of the stdout (as long as no option `into` is provided, see `System.cmd/3`) and `exit_status` - is the exit status of the invoation. (`0` for success) + is the exit status of the invocation. (`0` for success) ## Examples iex> dump_cmd(["--data-only", "--table", "table_name"], [stdout_to_stderr: true], Acme.Repo.config()) - "--\n-- PostgreSQL database dump\n--\n" <> _rest + {"--\n-- PostgreSQL database dump\n--\n" <> _rest, 0} """ @callback dump_cmd(args :: [String.t()], opts :: Keyword.t(), config :: Keyword.t()) ::