Skip to content

Commit

Permalink
Remove some unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-rr committed Nov 29, 2023
1 parent b905366 commit d93c596
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@ import { Command } from '@oclif/core';
import { MetadataFromDocument, MetricMetadata, NewRelicSink, Recorder, Sink, StdOutSink } from '@smoya/asyncapi-adoption-metrics';
import { Parser } from '@asyncapi/parser';

/* export type Flags<T extends typeof Command> = Interfaces.InferredFlags<typeof BaseCommand['baseFlags'] & T['flags']>
export type Args<T extends typeof Command> = Interfaces.InferredArgs<T['args']>
export interface CommandInterface extends Command.Class {
configurationVariablesSection?: HelpSection;
envVariablesSection?: HelpSection;
errorCodes?: HelpSection;
}
*/

class DiscardSink implements Sink {
async send() {
// noop
Expand Down
1 change: 0 additions & 1 deletion src/commands/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { validate, validationFlags } from '../parser';
import { load } from '../models/SpecificationFile';
import { specWatcher } from '../globals';
import { watchFlag } from '../flags';
import { stringify } from 'querystring';

export default class Validate extends Command {
static description = 'validate asyncapi file';
Expand Down

0 comments on commit d93c596

Please sign in to comment.