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

tests: update the tests to use the new markdown-template #792

Closed
wants to merge 1 commit into from

Conversation

dselman
Copy link
Contributor

@dselman dselman commented Aug 1, 2023

Closes #

Changes

Flags

Screenshots or Video

Related Issues

  • Issue #
  • Pull Request #

Author Checklist

  • Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
  • Vital features and changes captured in unit and/or integration tests
  • Commits messages follow AP format
  • Extend the documentation, if necessary
  • Merging to master from fork:branchname

Signed-off-by: Dan Selman <danscode@selman.org>
@@ -49,9 +49,16 @@ class Template {
constructor(packageJson, readme, samples, request, logo, options, authorSignature) {
this.metadata = new Metadata(packageJson, readme, samples, request, logo);
this.logicManager = new LogicManager('es6', null, options);
const templateKind = this.getMetadata().getTemplateType() !== 0 ? 'clause' : 'contract';
Copy link
Member

Choose a reason for hiding this comment

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

I was referring to this. @mttrbrts
I don't think we really use it anywhere as such. Used to check if an archive was .slc or .cta

Copy link
Member

Choose a reason for hiding this comment

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

Thanks @sanketshevkar. There hasn't been any change as far as I can tell.

There still isn't any functional difference between the two kinds.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah agreed! I checked just now. We're still saving the archive file as .cta. Thanks @mttrbrts

@dselman dselman closed this Sep 6, 2023
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.

3 participants