diff --git a/package.json b/package.json index ada88a6..1921619 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hpt-validator-cli", - "version": "1.0.0-rc.2", + "version": "1.0.0-rc.3", "author": "CMS Open Source ", "license": "CC0-1.0", "description": "CLI for validating CMS Hospital Price Transparency machine-readable files", diff --git a/src/commands.ts b/src/commands.ts index 110375c..47da9af 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -1,7 +1,7 @@ import fs from "fs" import path from "path" import chalk from "chalk" -import { validateFilename, validateCsv, validateJson } from "hpt-validator" +import { validateCsv, validateJson } from "hpt-validator" import { ValidationResult } from "hpt-validator/src/types" import { InvalidArgumentError } from "commander" @@ -19,12 +19,6 @@ export async function validate( ) } - if (validateFilename(path.basename(filepath))) { - console.log(chalk.green("Filename valid")) - } else { - console.log(chalk.red("Filename invalid")) - } - const validationResult = await validateFile( filepath, version,