Skip to content

Commit db7fc60

Browse files
committed
cli: remove commented function in upload
1 parent 38510f9 commit db7fc60

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tools/cli/src/sourcemaps/upload.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,6 @@ function isAssetProcessed(sourceProcessor: SourceProcessor) {
201201
};
202202
}
203203

204-
// function readDebugId(sourceProcessor: SourceProcessor) {
205-
// return async function readDebugId(asset: Asset): ResultPromise<AssetWithDebugId, string> {
206-
// return AsyncResult.equip(sourceProcessor.getSourceMapFileDebugId(asset.path)).then<AssetWithDebugId>(
207-
// (debugId) => ({ ...asset, debugId }),
208-
// ).inner;
209-
// };
210-
// }
211-
212204
function saveArchive(filePath: string) {
213205
return async function saveArchive(stream: Readable): ResultPromise<UploadResult, string> {
214206
return AsyncResult.equip(writeStream([stream, filePath])).then(([, rxid]) => ({ rxid })).inner;

0 commit comments

Comments
 (0)