Skip to content

Commit

Permalink
fix file path bug (#12241)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjschuang committed Jun 5, 2024
1 parent 1fb623a commit ef83ecf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/google_drive/actions/upload-file/upload-file.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
key: "google_drive-upload-file",
name: "Upload File",
description: "Upload a file to Google Drive. [See the documentation](https://developers.google.com/drive/api/v3/manage-uploads) for more information",
version: "0.1.7",
version: "0.1.8",
type: "action",
props: {
googleDrive,
Expand Down Expand Up @@ -104,7 +104,7 @@ export default {
const file = await getFileStream({
$,
fileUrl,
filePath: filePath.includes("tmp/")
filePath: filePath?.startsWith("/tmp/")
? filePath
: `/tmp/${filePath}`,
});
Expand Down
2 changes: 1 addition & 1 deletion components/google_drive/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/google_drive",
"version": "0.8.1",
"version": "0.8.2",
"description": "Pipedream Google_drive Components",
"main": "google_drive.app.mjs",
"keywords": [
Expand Down

0 comments on commit ef83ecf

Please sign in to comment.