add expected version to template warning (#46021)
* add expected version to template warning * add changelog * fix spacing for linting * revert template change --------- Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
This commit is contained in:
parent
3f74ef2009
commit
0849238776
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: dev
|
||||
|
||||
add the expected template version to template bump warning
|
|
@ -46,7 +46,7 @@ export const scanForTemplateChanges = async (
|
|||
|
||||
let lineNumber = 1;
|
||||
let code = 'warning';
|
||||
let message = 'This template may require a version bump!';
|
||||
let message = `This template may require a version bump! Expected ${ version }`;
|
||||
|
||||
for ( const l in lines ) {
|
||||
const line = lines[ l ];
|
||||
|
|
Loading…
Reference in New Issue