We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38510f9 commit db7fc60Copy full SHA for db7fc60
tools/cli/src/sourcemaps/upload.ts
@@ -201,14 +201,6 @@ function isAssetProcessed(sourceProcessor: SourceProcessor) {
201
};
202
}
203
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
-
212
function saveArchive(filePath: string) {
213
return async function saveArchive(stream: Readable): ResultPromise<UploadResult, string> {
214
return AsyncResult.equip(writeStream([stream, filePath])).then(([, rxid]) => ({ rxid })).inner;
0 commit comments