1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-26 04:02:51 +01:00
This commit is contained in:
Mikael Finstad 2021-08-24 17:34:04 +07:00
parent 65b1157ddb
commit 4e06dbcb9e
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

View File

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