mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-26 04:02:51 +01:00
fix bug
This commit is contained in:
parent
65b1157ddb
commit
4e06dbcb9e
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user