diff options
Diffstat (limited to 'plugins/code-modernization/workflows/uplift-deltas.js')
| -rw-r--r-- | plugins/code-modernization/workflows/uplift-deltas.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/code-modernization/workflows/uplift-deltas.js b/plugins/code-modernization/workflows/uplift-deltas.js index 4935f154..45475eaf 100644 --- a/plugins/code-modernization/workflows/uplift-deltas.js +++ b/plugins/code-modernization/workflows/uplift-deltas.js @@ -25,8 +25,9 @@ if (!system || !source || !target) { ) } if (!/^[A-Za-z0-9][A-Za-z0-9_-]*$/.test(system)) { - throw new Error(`Unsafe system name ${JSON.stringify(system)} — must be a plain directory name under legacy/`) + throw new Error(`Unsafe system name ${JSON.stringify(system)} — must be a plain name: letters, digits, hyphen and underscore`) } +// The code is `legacy/<system>`: a copy, or a symlink to where it really lives (`preflight --source` makes the link). const legacyDir = `legacy/${system}` const projectPattern = (ARGS && ARGS.projectPattern) || '' |
