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

fix: verify pending correctly for custom templates #565

Merged
merged 1 commit into from
Aug 13, 2022

Conversation

mmkal
Copy link
Contributor

@mmkal mmkal commented Aug 13, 2022

Fixes #559

CC @kf6kjg

@codecov-commenter
Copy link

Codecov Report

Merging #565 (43d3b18) into main (101e81a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #565   +/-   ##
=======================================
  Coverage   99.06%   99.07%           
=======================================
  Files          12       12           
  Lines         430      432    +2     
  Branches       90       90           
=======================================
+ Hits          426      428    +2     
  Misses          4        4           
Impacted Files Coverage Δ
src/umzug.ts 98.64% <100.00%> (+0.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

},
});

await umzug.create({ name: 'test' });
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should have pushed the test in a separate commit to prove this but: this was reproducing the bug described in #559 until the change to src/umzug.ts above.

@mmkal mmkal merged commit 92add1c into main Aug 13, 2022
@mmkal mmkal deleted the mk/22/08/13/fixverifypendingcorrectlyforcustomtemplates branch August 13, 2022 09:04
@github-actions
Copy link

Release v3.2.1 addresses this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI create: "Expected to be a pending migration but it wasn't!" when using create.template name transformation
2 participants