Skip to content

Commit

Permalink
Remove unnecessary console log from cli
Browse files Browse the repository at this point in the history
  • Loading branch information
coreybutler committed Apr 6, 2021
1 parent 89a581f commit 25b1a8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ require(require('path').join(__dirname, 'index.js'))

const { spawn } = require('child_process')

// console.log(process.argv.slice(2), process.env)
console.log(process.argv[2], '>>', process.argv.slice(3))

const p = spawn(process.argv[2], process.argv.slice(3), { cwd: process.cwd(), env: process.env })
p.stdout.on('data', d => console.log(d.toString()))
p.stderr.on('data', d => console.error(d.toString()))
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "localenvironment",
"version": "1.2.0",
"version": "1.2.1",
"description": "Apply environment variables if they exist in env.json.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 25b1a8c

Please sign in to comment.