Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filesystem connector problem when using folderPath #283

Open
farchide opened this issue Jul 12, 2021 · 1 comment
Open

filesystem connector problem when using folderPath #283

farchide opened this issue Jul 12, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@farchide
Copy link
Collaborator

When using folderPath in the filesystem connector to test a local file, prancer raises an error looking for the config.ini file inside the data folder.

steps to reproduce:

connector file:

  {
      "fileType": "structure",
      "type": "filesystem",
      "companyName": "prancer",
      "folderPath":"/tmp/repos/prancer-hello-world/validation/terraform-test/data"
  }

running prancer gives the following error:

prancer terraform-test

  2021-07-12 11:53:21,988(cli_validator: 134) FRAMEWORDIR environment variable NOT SET, searching in current directory.
  2021-07-12 11:53:21,996(cli_validator: 135) Configuration(/tmp/repos/prancer-hello-world/validation/terraform-test/dataconfig.ini) INI file does not exist!

it searches for the config.ini file inside the data folder which is not correct.

This behavior is observed in the python3 virtual env.

@farchide farchide added the bug Something isn't working label Jul 12, 2021
@jaiminswan
Copy link
Contributor

We will verify if this folderpath field exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants