< Summary - Envilder CLI

Information
Class: src/envilder/core/application/validateEnvFile/CompareEnvFileValuesCommand.ts
Assembly: Default
File(s): src/envilder/core/application/validateEnvFile/CompareEnvFileValuesCommand.ts
Tag: 605_44106794472
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 18
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

File(s)

src/envilder/core/application/validateEnvFile/CompareEnvFileValuesCommand.ts

#LineLine coverage
 1export class CompareEnvFileValuesCommand {
 2  constructor(
 163    public readonly mapPath: string,
 164    public readonly envFilePath: string,
 5    /** The declared variables to compare, a subset of the map file's. */
 166    public readonly variables: readonly string[],
 7  ) {}
 8
 9  static create(
 10    mapPath: string,
 11    envFilePath: string,
 12    variables: readonly string[],
 13  ): CompareEnvFileValuesCommand {
 1614    return new CompareEnvFileValuesCommand(mapPath, envFilePath, [
 15      ...variables,
 16    ]);
 17  }
 18}

Methods/Properties

constructor
create