@pipedream/google_drive 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@ export default {
11
11
  key: "google_drive-upload-file",
12
12
  name: "Upload File",
13
13
  description: "Upload a file to Google Drive. [See the documentation](https://developers.google.com/drive/api/v3/manage-uploads) for more information",
14
- version: "0.1.7",
14
+ version: "0.1.8",
15
15
  type: "action",
16
16
  props: {
17
17
  googleDrive,
@@ -104,7 +104,7 @@ export default {
104
104
  const file = await getFileStream({
105
105
  $,
106
106
  fileUrl,
107
- filePath: filePath.includes("tmp/")
107
+ filePath: filePath?.startsWith("/tmp/")
108
108
  ? filePath
109
109
  : `/tmp/${filePath}`,
110
110
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/google_drive",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Pipedream Google_drive Components",
5
5
  "main": "google_drive.app.mjs",
6
6
  "keywords": [