kopia lustrzana https://github.com/mifi/lossless-cut
lint fix
rodzic
e641865821
commit
803008b053
|
@ -1,6 +1,5 @@
|
|||
const electron = require('electron'); // eslint-disable-line
|
||||
const isDev = require('electron-is-dev');
|
||||
const os = require('os');
|
||||
const unhandled = require('electron-unhandled');
|
||||
|
||||
const menu = require('./menu');
|
||||
|
|
|
@ -33,7 +33,7 @@ export async function saveCsv(path, cutSegments) {
|
|||
|
||||
const formatDurationStr = (duration) => (duration != null ? formatDuration({ seconds: duration }) : '');
|
||||
|
||||
const mapSegments = (segments) => segments.map(({ start, end, name }) => [formatDurationStr(start), formatDurationStr(end), name])
|
||||
const mapSegments = (segments) => segments.map(({ start, end, name }) => [formatDurationStr(start), formatDurationStr(end), name]);
|
||||
|
||||
export async function saveCsvHuman(path, cutSegments) {
|
||||
const str = await csvStringifyAsync(mapSegments(cutSegments));
|
||||
|
|
Ładowanie…
Reference in New Issue