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));