From 82e57cfaa1f16c04f5e13267fde2f140c590a5df Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Mon, 31 Mar 2025 16:13:24 +0200 Subject: [PATCH] Update copy.ts --- scripts/copy.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/copy.ts b/scripts/copy.ts index c8feddcaf..c3bb4dbb0 100644 --- a/scripts/copy.ts +++ b/scripts/copy.ts @@ -9,9 +9,9 @@ async function cp(src: string) { const files = await getFiles(src, /\.sol$/) for (const file of files) { - const [_, relative_path] = file.split(src) - assert(relative_path, "empty relative path") - await copy(file, path.join(dst, relative_path)) + const [_, relativePath] = file.split(src) + assert(relativePath, "empty relative path") + await copy(file, path.join(dst, relativePath)) } }