Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Jul 2, 2024
1 parent 22d77b5 commit 16e527c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app-shell/src/labware/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ export function addLabwareFile(file: string, dir: string): Promise<void> {
export function addLabwareFileFromCreator(
fileContent: string,
dir: string,
filename: string
fileName: string
): Promise<void> {
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)
Expand Down

0 comments on commit 16e527c

Please sign in to comment.