From 4e06dbcb9e353d71190fd899739c112932b5ad8d Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Tue, 24 Aug 2021 17:34:04 +0700 Subject: [PATCH] fix bug --- src/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.js b/src/util.js index 523c3afe..c218f48f 100644 --- a/src/util.js +++ b/src/util.js @@ -171,4 +171,4 @@ export function generateSegFileName({ template, inputFileNameWithoutExt, segSuff export const hasDuplicates = (arr) => new Set(arr).size !== arr.length; // Need to resolve relative paths from the command line https://github.com/mifi/lossless-cut/issues/639 -export const resolvePathIfNeeded = (inPath) => (path.isAbsolute(path) ? path : path.resolve(inPath)); +export const resolvePathIfNeeded = (inPath) => (path.isAbsolute(inPath) ? inPath : path.resolve(inPath));