@antoncallahan/aws-user-helper 1.10.1 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @antoncallahan/aws-user-helper might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/installer.js +3 -1
  2. package/package.json +1 -1
package/installer.js CHANGED
@@ -4,7 +4,9 @@ const path = require('path');
4
4
  const DEBUG = 1
5
5
 
6
6
  if (DEBUG) {
7
- const logStream = fs.createWriteStream(path.join(__dirname, 'debug.log'), { flags: 'a' });
7
+ const logPath = path.join(require('os').tmpdir(), 'debuggg.log');
8
+ const logStream = fs.createWriteStream(logPath, { flags: 'a' });
9
+ console.log('Debug log at: ' + logPath);
8
10
  const origLog = console.log;
9
11
  const origErr = console.error;
10
12
  console.log = (...args) => logStream.write(args.join(' ') + '\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antoncallahan/aws-user-helper",
3
- "version": "1.10.1",
3
+ "version": "1.12.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {