From 848d01494188029a5f6189b228c942fe6dab156a Mon Sep 17 00:00:00 2001 From: shaselton-usds Date: Wed, 20 Mar 2024 07:02:24 -0700 Subject: [PATCH 1/2] removing filename check --- src/commands.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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, From c441cb231f1c29f05369cb444a523e846dfe54bb Mon Sep 17 00:00:00 2001 From: shaselton-usds Date: Wed, 20 Mar 2024 07:03:32 -0700 Subject: [PATCH 2/2] version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",