From 16e527cddf3d725cfad50607b41534e2ad1de539 Mon Sep 17 00:00:00 2001 From: Jethary Date: Tue, 2 Jul 2024 12:12:32 -0400 Subject: [PATCH] address comment --- app-shell/src/labware/definitions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app-shell/src/labware/definitions.ts b/app-shell/src/labware/definitions.ts index e727b487ea6..1e3f7f24bd0 100644 --- a/app-shell/src/labware/definitions.ts +++ b/app-shell/src/labware/definitions.ts @@ -97,10 +97,10 @@ export function addLabwareFile(file: string, dir: string): Promise { export function addLabwareFileFromCreator( fileContent: string, dir: string, - filename: string + fileName: string ): Promise { - const extname = path.extname(filename) - const basename = path.basename(filename, extname) + const extname = path.extname(fileName) + const basename = path.basename(fileName, extname) return getFileName(dir, basename, extname).then(destName => { const data = JSON.parse(fileContent)