Skip to content

Commit

Permalink
Valdiate zip
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaredWilcurt committed Dec 31, 2023
1 parent 76201d3 commit 4809174
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nw-testing/manual-testing.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* @file Used for manually testing the code
*/

const fs = require('fs');

const semver = require('semver');

const library = require('../index.cjs');
Expand Down Expand Up @@ -115,7 +117,7 @@ function manualTesting () {
* @return {boolean} true = continue, false = retry/stop
*/
validateZip: function (pathToZip) {
console.log('validateZip', pathToZip);
console.log('Validate zip exists', pathToZip, fs.existsSync(pathToZip));
// This is just an example, you can put any logic you want here
return true;
},
Expand Down

0 comments on commit 4809174

Please sign in to comment.