Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrconley committed May 9, 2024
1 parent e751e02 commit 4148eb7
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {Architecture, Code, Function, FunctionProps, LayerVersion, Runtime} from "aws-cdk-lib/aws-lambda";
import {Construct} from "constructs";
import {randomUUID} from "crypto";
import {mkdirSync, writeFileSync} from "fs";
import {tmpdir} from "os";
import {getInstallSync} from "./install.cjs";
import { Architecture, Code, Function, FunctionProps, LayerVersion, Runtime } from "aws-cdk-lib/aws-lambda";
import { Construct } from "constructs";
import { randomUUID } from "crypto";
import { mkdirSync, writeFileSync } from "fs";
import { tmpdir } from "os";
import { getInstallSync } from "./install.cjs";

const DEFAULT_GH_REPO = "benthosdev/benthos";
const DEFAULT_VERSION = "4.27.0";
Expand All @@ -18,8 +18,6 @@ export interface BenthoLambdaProps extends Omit<FunctionProps, "code" | "runtime
}

export class BenthosLambda extends Function {


private static _benthosArtifactAssetMap: Map<string, Code> = new Map<string, Code>();
protected static getBenthosArtifactAsset(ghRepo: string, version: string, arch: string): Code {
const id = `${ghRepo}_${version}_${arch}`.replace(/\//g, "_");
Expand Down

0 comments on commit 4148eb7

Please sign in to comment.