Skip to content

Commit 31e172c

Browse files
committed
Should fix #2
* Started using INIT_CWD env variable to get to the base folder. * CLRF --> LF
1 parent 243cd05 commit 31e172c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

DontRunMe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const detectNewline = require("detect-newline");
44
const crypto = require("crypto"); // define crypto
55
const fs = require("fs"); // define filesys
6-
let projectRoot = require("path").dirname(require.main.filename);
6+
let projectRoot = process.env.INIT_CWD;
77
let fetchedKey, fetchedHMAC, convertedConfig = false;
88

99
const exit = (msg) => {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "basic256.js",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "A basic encryption/decryption script/API for resting data for Node.js users.",
55
"engines": {
66
"node": ">=8.4.0"

0 commit comments

Comments
 (0)