mirror of
https://github.com/caprover/caprover
synced 2026-09-24 23:55:36 +00:00
removed unused imports and files
This commit is contained in:
@@ -5,7 +5,7 @@ const uuid = require("uuid/v4");
|
||||
const CaptainConstants = require("../utils/CaptainConstants");
|
||||
const Logger = require("../utils/Logger");
|
||||
const EnvVars = require("../utils/EnvVars");
|
||||
const Base = Base64Provider.Base64;
|
||||
const Base64 = Base64Provider.Base64;
|
||||
function safeParseChunk(chunk) {
|
||||
try {
|
||||
return JSON.parse(chunk);
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -7,7 +7,7 @@ import EnvVars = require('../utils/EnvVars')
|
||||
import BuildLog = require('../user/BuildLog')
|
||||
import { IDockerApiPort, IDockerContainerResource } from '../models/OtherTypes'
|
||||
|
||||
const Base = Base64Provider.Base64
|
||||
const Base64 = Base64Provider.Base64
|
||||
|
||||
function safeParseChunk(chunk: string) {
|
||||
try {
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
import DataStore = require('../datastore/DataStoreImpl')
|
||||
export interface ICaptainUser {
|
||||
dataStore: DataStore
|
||||
}
|
||||
@@ -15,7 +15,6 @@ import uuid = require('uuid/v4')
|
||||
import requireFromString = require('require-from-string')
|
||||
import BuildLog = require('./BuildLog')
|
||||
import { AnyError } from '../models/OtherTypes'
|
||||
import { ICaptainUser } from '../models/ICaptainUser'
|
||||
import { ImageInfo } from 'dockerode'
|
||||
|
||||
const BUILD_LOG_SIZE = 50
|
||||
|
||||
Reference in New Issue
Block a user