electron-publish
Advanced tools
Comparing version 26.0.0-alpha.3 to 26.0.0-alpha.4
@@ -6,3 +6,3 @@ "use strict"; | ||
const fs_extra_1 = require("fs-extra"); | ||
const posix_1 = require("path/posix"); | ||
const path_1 = require("path"); | ||
const publisher_1 = require("./publisher"); | ||
@@ -16,3 +16,3 @@ class HttpPublisher extends publisher_1.Publisher { | ||
async upload(task) { | ||
const fileName = (this.useSafeArtifactName ? task.safeArtifactName : null) || (0, posix_1.basename)(task.file); | ||
const fileName = (this.useSafeArtifactName ? task.safeArtifactName : null) || (0, path_1.basename)(task.file); | ||
if (task.fileContent != null) { | ||
@@ -19,0 +19,0 @@ await this.doUpload(fileName, task.arch || builder_util_1.Arch.x64, task.fileContent.length, (request, reject) => { |
{ | ||
"name": "electron-publish", | ||
"version": "26.0.0-alpha.3", | ||
"version": "26.0.0-alpha.4", | ||
"main": "out/index.js", | ||
@@ -5,0 +5,0 @@ "author": "Vladimir Krivosheev", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
140578