mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-25 11:43:17 +01:00
Remove extraneous dot
This commit is contained in:
parent
f08035dec7
commit
3a79af75fa
@ -37,9 +37,9 @@ function getFfmpegPath() {
|
||||
|
||||
function cut(filePath, format, cutFrom, cutTo) {
|
||||
return bluebird.try(() => {
|
||||
const ext = path.extname(filePath) || format;
|
||||
const ext = path.extname(filePath) || `.${format}`;
|
||||
const outFileAppend = `${util.formatDuration(cutFrom)}-${util.formatDuration(cutTo)}`;
|
||||
const outFile = `${filePath}-${outFileAppend}.${ext}`;
|
||||
const outFile = `${filePath}-${outFileAppend}${ext}`;
|
||||
|
||||
console.log('Cutting from', cutFrom, 'to', cutTo);
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
const bluebird = require('bluebird');
|
||||
const electron = require('electron'); // eslint-disable-line
|
||||
const $ = require('jquery');
|
||||
const keyboardJs = require('keyboardjs');
|
||||
|
Loading…
Reference in New Issue
Block a user