csv-file-validator icon indicating copy to clipboard operation
csv-file-validator copied to clipboard

Custom error message for dependentValidate error

Open Sheikh566 opened this issue 3 years ago • 7 comments

When dependentValidate() fails, it sets the error message from validateError() function given. But instead it should have its own error handler dependentValidateError() to show more precisely what is wrong.

Sheikh566 avatar Mar 02 '23 11:03 Sheikh566

If this is a valid feature request. Please assign it to me

Sheikh566 avatar Mar 02 '23 11:03 Sheikh566

go ahead and add updates @Sheikh566 thanks for contributing

shystruk avatar Mar 02 '23 17:03 shystruk

@shystruk I am unable to run test. Getting this error:

node:internal/modules/cjs/loader:988
  throw err;
  ^

Error: Cannot find module 'D:\Study\Self-Learn\OpenSource\csv-file-validator\node'
    at Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
    at Module._load (node:internal/modules/cjs/loader:833:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.10.0
----------|----------|----------|----------|----------|-------------------|
File      |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files |        0 |        0 |        0 |        0 |                   |
----------|----------|----------|----------|----------|-------------------|

Do you know how I can fix it?

Sheikh566 avatar Mar 04 '23 10:03 Sheikh566

@Sheikh566 can you please push your branch and I will check what the issue is with tests

shystruk avatar Jun 14 '23 16:06 shystruk

@shystruk Can you add this repo to hacktoberfest 2023?

Sheikh566 avatar Oct 01 '23 18:10 Sheikh566

@Sheikh566 share the link please

shystruk avatar Oct 01 '23 19:10 shystruk

@shystruk just add hacktoberfest tag to the repo

Sheikh566 avatar Oct 06 '23 09:10 Sheikh566