Skip to content

Commit b1bf47b

Browse files
jallThomWright
authored andcommitted
Fix 'aquired' typo
1 parent a2f6b91 commit b1bf47b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ B Connected to database
144144
B Acquiring advisory lock...
145145
A Connected to database
146146
A Acquiring advisory lock...
147-
B ... aquired advisory lock
147+
B ... acquired advisory lock
148148
B Starting migrations
149149
B Starting migration: 2 migration-name
150150
B Finished migration: 2 migration-name
@@ -154,7 +154,7 @@ B Successfully applied migrations: migration-name, another-migration-name
154154
B Finished migrations
155155
B Releasing advisory lock...
156156
B ... released advisory lock
157-
A ... aquired advisory lock
157+
A ... acquired advisory lock
158158
A Starting migrations
159159
A No migrations applied
160160
A Finished migrations

src/with-lock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function withAdvisoryLock<T>(
1919
await new Promise((res) => setTimeout(res, 1000))
2020
}
2121
}
22-
log("... aquired advisory lock")
22+
log("... acquired advisory lock")
2323
} catch (e) {
2424
log(`Error acquiring advisory lock: ${e.message}`)
2525
throw e

0 commit comments

Comments
 (0)