Skip to content

Conversation

@duncanmak
Copy link

This ought to fix #918.

I tried adding a test, but maybe it could be made more precise?

@duncanmak
Copy link
Author

@microsoft-github-policy-service agree

Copy link
Member

@ecraig12345 ecraig12345 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 PR! Could you please add a change file by running yarn change?

const target = createTarget(monorepo1.root, "package-a", "build:test");
const hash = await getHash(hasher, target);

expect(() => hasher.writeTargetHashesManifest()).not.toThrow();
Copy link
Member

Choose a reason for hiding this comment

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

Maybe instead of this, you could check that the expected directory exists with the sanitized name?

Agree with this proposal

Co-authored-by: Elizabeth Craig <ecraig12345@gmail.com>
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.

The filename for the target hashes manifest is not sanitized for Windows

3 participants