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 25545bb commit f91bdbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js

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

3 changes: 2 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ async function run() {
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')
await exec('sudo cp config.yaml /home/mitmproxyuser/.mitmproxy/')

Check failure on line 51 in src/main.js

View workflow job for this annotation

GitHub Actions / Lint Codebase

Delete `·`
await exec('sudo chown mitmproxyuser:mitmproxyuser /home/mitmproxyuser/.mitmproxy/config.yaml')

Check failure on line 52 in src/main.js

View workflow job for this annotation

GitHub Actions / Lint Codebase

Replace `'sudo·chown·mitmproxyuser:mitmproxyuser·/home/mitmproxyuser/.mitmproxy/config.yaml'` with `⏎······'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 54 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 f91bdbc

Please sign in to comment.