Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 52ddd10

Browse files
the-kennyConnorRigby
authored andcommitted
Fix typo
1 parent 168c768 commit 52ddd10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/sqlitex.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ defmodule Sqlitex do
153153
@spec with_transaction(Sqlitex.connection, (Sqlitex.connection -> any()), Keyword.t) :: any
154154
def with_transaction(db, fun, opts \\ []) do
155155
with :ok <- exec(db, "begin", opts),
156-
{:ok, result} <- apply_rescueing(fun, [db]),
156+
{:ok, result} <- apply_rescuing(fun, [db]),
157157
:ok <- exec(db, "commit", opts)
158158
do
159159
{:ok, result}
@@ -172,7 +172,7 @@ defmodule Sqlitex do
172172

173173
## Private Helpers
174174

175-
defp apply_rescueing(fun, args) do
175+
defp apply_rescuing(fun, args) do
176176
try do
177177
{:ok, apply(fun, args)}
178178
rescue

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy