Add .gitignore to exclude all node packages and lock files
This commit is contained in:
Generated
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.calculateProgress = void 0;
|
||||
const calculateProgress = ({ millisecondsWritten, expectedOutputDurationInMs, }) => {
|
||||
if (expectedOutputDurationInMs === null) {
|
||||
return null;
|
||||
}
|
||||
return millisecondsWritten / expectedOutputDurationInMs;
|
||||
};
|
||||
exports.calculateProgress = calculateProgress;
|
||||
Reference in New Issue
Block a user