fix build
This commit is contained in:
parent
1e75e7c1e3
commit
e783d667a5
|
@ -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
|
||||
|
|
|
@ -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")) {
|
||||
|
|
Loading…
Reference in New Issue