Skip to content

Commit

Permalink
fix(lint): lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
HQarroum committed Feb 7, 2024
1 parent f92b348 commit d5ff6f2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class BedrockPineconePipeline extends cdk.Stack {
const pineconeApiKey = secrets.Secret.fromSecretNameV2(
this,
'PineconeApiKey',
process.env.PINECONE_API_KEY_SECRET_NAME as string
process.env.PINECONE_API_KEY_SECRET_NAME
);

///////////////////////////////////////////
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import * as s3 from 'aws-cdk-lib/aws-s3';
import { Construct } from 'constructs';
import { CacheStorage } from '@project-lakechain/core';
import { S3EventTrigger } from '@project-lakechain/s3-event-trigger';
import { TranscribeAudioProcessor, OutputFormat } from '@project-lakechain/transcribe-audio-processor';
import { TranscribeAudioProcessor } from '@project-lakechain/transcribe-audio-processor';
import { AnthropicTextProcessor, AnthropicTextModel } from '@project-lakechain/bedrock-text-processors';
import { S3StorageConnector } from '@project-lakechain/s3-storage-connector';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import * as s3 from 'aws-cdk-lib/aws-s3';
import { Construct } from 'constructs';
import { CacheStorage } from '@project-lakechain/core';
import { S3EventTrigger } from '@project-lakechain/s3-event-trigger';
import { TranscribeAudioProcessor, OutputFormat } from '@project-lakechain/transcribe-audio-processor';
import { TranscribeAudioProcessor } from '@project-lakechain/transcribe-audio-processor';
import { S3StorageConnector } from '@project-lakechain/s3-storage-connector';

/**
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/lakechain-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ chain.use(async (input, output, next) => {
const res = await fetch(
`${opts.registry}/-/v1/search?text=scope:aws`
);
next(input.list = await res.json());
input.list = await res.json()
next();
});

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as cdk from 'aws-cdk-lib';
import { Match, Template } from 'aws-cdk-lib/assertions';
import { CacheStorage, CacheStorageProps } from '../../../src/cache-storage';
import { CacheStorage } from '../../../src/cache-storage';
import { Middleware, MiddlewareProps, MiddlewareBuilder } from '../../../src/middleware';
import { Construct } from 'constructs';
import { ServiceDescription } from '../../../src/service';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ import { ComputeType } from '@project-lakechain/core/compute-type';
import { when } from '@project-lakechain/core/dsl/vocabulary/conditions';
import { CacheStorage } from '@project-lakechain/core';
import { OutputFormat } from './definitions/output-format';
import { TranscribeAudioProcessorProps, TranscribeAudioProcessorSchema } from './definitions/opts';
import { compile } from './definitions/options-compiler';

import {
TranscribeAudioProcessorProps,
TranscribeAudioProcessorSchema
} from './definitions/opts';
import {
Middleware,
MiddlewareBuilder,
Expand Down

0 comments on commit d5ff6f2

Please sign in to comment.