Fix typos (#34)

Found via `typos --hidden --format brief`
This commit is contained in:
Kian-Meng Ang
2024-09-23 08:29:28 +00:00
committed by GitHub
parent 541bc07b6f
commit 42ebb0aec4
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ const pathRelative = (from, to) => {
const pathDirname = str => str.slice(0, str.lastIndexOf('/') + 1)
// replace asynchronously and sequentially
// same techinque as https://stackoverflow.com/a/48032528
// same technique as https://stackoverflow.com/a/48032528
const replaceSeries = async (str, regex, f) => {
const matches = []
str.replace(regex, (...args) => (matches.push(args), null))