fix(core): fix tao to support migrations from older workspaces (#9594)

This commit is contained in:
Leosvel Pérez Espinosa 2022-03-29 19:06:17 +01:00 committed by GitHub
parent bdc73340df
commit ace6673f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,2 +1,7 @@
#!/usr/bin/env node
// this is to support older workspaces
if (process.argv[2] === 'migrate') {
process.argv[2] = '_migrate';
}
require('nx/bin/nx');