Skip to content

Commit fb1d082

Browse files
committed
Review: Refactor messages
1 parent 77dcc7b commit fb1d082

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/generator-widget/generators/app/lib/prompttexts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function promptWidgetProperties(mxProjectDir, widgetName) {
3131
type: "input",
3232
name: "copyright",
3333
message: "Add a copyright",
34-
default: "© Mendix Technology BV 2025. All rights reserved.",
34+
default: `© Mendix Technology BV ${new Date().getFullYear()}. All rights reserved.`,
3535
store: true
3636
},
3737
{

packages/pluggable-widgets-tools/bin/mx-scripts.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { execSync, spawnSync } = require("child_process");
33
const { existsSync } = require("fs");
44
const { delimiter, dirname, join, parse } = require("path");
55
const { checkMigration } = require("../utils/migration");
6-
const { checkForEnzymeUsage } = require("../utils/enzyme-detector");
6+
const { checkForEnzymeUsage } = require("../dist/utils/enzyme-detector");
77
const { red } = require("ansi-colors");
88

99
checkNodeVersion();
@@ -100,7 +100,8 @@ function getRealCommand(cmd, toolsRoot) {
100100
case "test:e2e:ts":
101101
case "test:e2e:web:cypress":
102102
case "test:e2e:web:cypress:local":
103-
return "echo This command has been removed.";
103+
case "test:unit:web:enzyme-free":
104+
return "echo This command has been removed, use test:unit:web instead!";
104105
case "start:js":
105106
case "start:ts":
106107
return "echo This command has no effect, use pluggable-widgets-tools start:web instead!";

0 commit comments

Comments
 (0)