Skip to content

Commit

Permalink
fix path for config file + patch bump
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmoisson committed Apr 23, 2022
1 parent 7ee936c commit f390792
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ if (namedArgs._.length !== 2) {

// get config file
const isUsingconfigFile = namedArgs.config.toLowerCase() !== 'false';
const configPath = path.join(__dirname, namedArgs.config);
const configPath = './' + namedArgs.config;
let config = {};
if (isUsingconfigFile && fs.existsSync(configPath)) {
config = JSON.parse(fs.readFileSync(configPath, 'utf8'));
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "staticrypt",
"version": "2.1.0",
"version": "2.1.1",
"description": "Based on the [crypto-js](https://github.com/brix/crypto-js) library, StatiCrypt uses AES-256 to encrypt your input with your passphrase and put it in a HTML file with a password prompt that can decrypted in-browser (client side).",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit f390792

Please sign in to comment.