Skip to content

Commit

Permalink
Use correct path package
Browse files Browse the repository at this point in the history
During refactoring #8596, the `basename` import was changed from "path" to
"path/posix", which doesn't properly reduce to the base name.
This caused some filenames to contain the absolute path after publishing.
  • Loading branch information
olivereisenhut committed Oct 25, 2024
1 parent cfa67c0 commit c144972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/electron-publish/src/httpPublisher.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Arch } from "builder-util"
import { stat } from "fs-extra"
import { ClientRequest } from "http"
import { basename } from "path/posix"
import { basename } from "path"
import { Publisher } from "./publisher"
import { PublishContext, UploadTask } from "."

Expand Down

0 comments on commit c144972

Please sign in to comment.