Skip to content

Commit

Permalink
Merge pull request #38 from onemedical/update_config_path
Browse files Browse the repository at this point in the history
NPM config filepath update
  • Loading branch information
mitch-lindsay committed Sep 5, 2023
2 parents 44e48fc + c67137c commit dd08945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/convert-xml-to-fhir-resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ function createAndUploadFhirResource() {
filePath = "src/sample-data/cda/Chirp_CCD.cda";
newPath = "test/e2e-test/regression-test/data/cda/ccd.hbs/ccd.hbs-Chirp_CCD.cda.json";
} else {
if ((process.env.npm_config_filePath || '') === '') {
if ((process.env.npm_config_filepath || '') === '') {
console.log("Must specify file path");
return;
}
filePath = "../../" + process.env.npm_config_filePath;
filePath = "../../" + process.env.npm_config_filepath;
newPath = filePath.replace(".xml", "--FHIR-RESOURCE.json");
newPath = newPath.split("tmp").pop();
newPath = "../../tmp/" + newPath;
Expand Down

0 comments on commit dd08945

Please sign in to comment.