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

Ignore type parameter on non-Windows platforms in symlink #2185

Merged
merged 2 commits into from
Apr 23, 2019

Conversation

maxwyb
Copy link
Contributor

@maxwyb maxwyb commented Apr 23, 2019

Quick fix of issue 2169: the type parameter in symlink is ignored for non-Windows platforms.

@maxwyb maxwyb changed the title Ignore type parameter on non-Windows platforms in symlink. Ignore type parameter on non-Windows platforms in symlink Apr 23, 2019
js/symlink.ts Outdated
@@ -3,14 +3,15 @@ import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
import * as util from "./util";
import { platform } from "./deno";
Copy link
Contributor

Choose a reason for hiding this comment

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

import { platform } from "./build";

js/symlink.ts Outdated
@@ -3,14 +3,15 @@ import * as msg from "gen/cli/msg_generated";
import * as flatbuffers from "./flatbuffers";
import * as dispatch from "./dispatch";
import * as util from "./util";
import { platform } from "./deno";

function req(
oldname: string,
newname: string,
type?: string
): [flatbuffers.Builder, msg.Any, flatbuffers.Offset] {
// TODO Use type for Windows.
Copy link
Contributor

Choose a reason for hiding this comment

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

Delete TODO comment

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.

Thanks for the fix @maxwyb - LGTM
(and thanks for the review @zekth )

@ry ry merged commit da64fba into denoland:master Apr 23, 2019
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

3 participants