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

Add execPath function #1743

Merged
merged 2 commits into from Feb 15, 2019
Merged

Add execPath function #1743

merged 2 commits into from Feb 15, 2019

Conversation

dsseng
Copy link
Contributor

@dsseng dsseng commented Feb 11, 2019

Fixes #1723
TODO:

  • Add tests

src/ops.rs Outdated
) -> Box<Op> {
let builder = &mut FlatBufferBuilder::new();
let path =
builder.create_string(std::env::current_exe().unwrap().to_str().unwrap());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

tools/test.py Outdated Show resolved Hide resolved
js/os.ts Outdated Show resolved Hide resolved
@ry
Copy link
Member

ry commented Feb 12, 2019

@sh7dm can you make it green?

@dsseng
Copy link
Contributor Author

dsseng commented Feb 12, 2019

@ry will do!

@ry
Copy link
Member

ry commented Feb 15, 2019

@sh7dm I've cleaned up the code, fixed the test, and changed execPath from a function into a constant string defined at startup.

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ry ry merged commit 4dc4329 into denoland:master Feb 15, 2019
@dsseng dsseng deleted the add-exec-path branch February 15, 2019 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants