1
0
Fork 0
mirror of synced 2024-09-28 15:21:28 +12:00

fix build

This commit is contained in:
Peter Clement 2022-09-07 17:49:29 +01:00
parent 1e75e7c1e3
commit e783d667a5
2 changed files with 4 additions and 4 deletions

View file

@ -3,14 +3,14 @@
import { plugins } from "stores/portal"
let authOptions = {
URL: ["Headers", "URL"],
NPM: ["URL"],
Github: ["Github Token", "URL"],
URL: ["Headers", "URL"],
"File Upload": ["File Upload"],
}
let file
let sourceValue = "NPM"
let typeValue = "Datasource"
let sourceValue = "URL"
let typeValue = "Component"
let dynamicValues = {}
let validation

View file

@ -1,4 +1,3 @@
import fetch from "node-fetch"
import {
createTempFolder,
getPluginMetadata,
@ -8,6 +7,7 @@ import {
deleteFolderFileSystem,
} from "../../../utilities/fileSystem"
import { join } from "path"
const fetch = require("node-fetch")
export const uploadedFilePlugin = async file => {
if (!file.name.endsWith(".tar.gz")) {