1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 02:12:30 +01:00

Remove extraneous dot

This commit is contained in:
Mikael Finstad 2016-11-21 13:01:11 +01:00
parent f08035dec7
commit 3a79af75fa
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -1,4 +1,3 @@
const bluebird = require('bluebird');
const electron = require('electron'); // eslint-disable-line
const $ = require('jquery');
const keyboardJs = require('keyboardjs');