Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
raianand committed Feb 14, 2024
1 parent d3279a4 commit 25545bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ async function run() {
const createBoltConfigCommand = 'sudo -u mitmproxyuser -H bash -c "mkdir -p /home/mitmproxyuser/.mitmproxy"'

Check failure on line 43 in src/main.js

View workflow job for this annotation

GitHub Actions / Lint Codebase

Insert `⏎·····`
await exec(createBoltConfigCommand)

await exec('ls -lah')
await exec('sudo ls -lah')
await exec('sudo ls -lah /home/mitmproxyuser')
await exec('sudo ls -lah /home/mitmproxyuser/.mitmproxy')

await exec('sudo cp config.yaml /home/mitmproxyuser/.mitmproxy/ && sudo chown mitmproxyuser:mitmproxyuser /home/mitmproxyuser/.mitmproxy/config.yaml')

Check failure on line 51 in src/main.js

View workflow job for this annotation

GitHub Actions / Lint Codebase

Replace `'sudo·cp·config.yaml·/home/mitmproxyuser/.mitmproxy/·&&·sudo·chown·mitmproxyuser:mitmproxyuser·/home/mitmproxyuser/.mitmproxy/config.yaml'` with `⏎······'sudo·cp·config.yaml·/home/mitmproxyuser/.mitmproxy/·&&·sudo·chown·mitmproxyuser:mitmproxyuser·/home/mitmproxyuser/.mitmproxy/config.yaml'⏎····`

await exec('sudo cp intercept.py /home/mitmproxyuser/ && sudo chown mitmproxyuser:mitmproxyuser /home/mitmproxyuser/intercept.py')

Check failure on line 53 in src/main.js

View workflow job for this annotation

GitHub Actions / Lint Codebase

Replace `'sudo·cp·intercept.py·/home/mitmproxyuser/·&&·sudo·chown·mitmproxyuser:mitmproxyuser·/home/mitmproxyuser/intercept.py'` with `⏎······'sudo·cp·intercept.py·/home/mitmproxyuser/·&&·sudo·chown·mitmproxyuser:mitmproxyuser·/home/mitmproxyuser/intercept.py'⏎····`
Expand Down

0 comments on commit 25545bb

Please sign in to comment.