Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if path exists before compiling #8

Open
kenorb opened this issue Jun 13, 2020 · 0 comments
Open

Check if path exists before compiling #8

kenorb opened this issue Jun 13, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kenorb
Copy link
Member

kenorb commented Jun 13, 2020

If path doesn't exist before compiling (file or dir), the following error happens:

Run fx31337/mql-compile-action@master
  with:
    path: src\EA31337
    mt-version: 5.0.0.2361
    mt-cleanup: false
    ignore-warnings: false
    log-file: mql.log
    syntax-only: false
    verbose: false
internal/fs/utils.js:220
    throw err;
    ^

Error: ENOENT: no such file or directory, open 'mql.log'
    at Object.openSync (fs.js:440:3)
    at Object.readFileSync (fs.js:342:35)
    at d:\a\_actions\fx31337\mql-compile-action\master\dist\index.js:9492:16
    at ChildProcess.exithandler (child_process.js:286:7)
    at ChildProcess.emit (events.js:210:5)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'mql.log'
}

Build: 768750528

@kenorb kenorb added the bug Something isn't working label Jun 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants