@nx-go/nx-go
Advanced tools
Comparing version 2.0.0-beta.2 to 2.0.0-beta.3
{ | ||
"name": "@nx-go/nx-go", | ||
"version": "2.0.0-beta.2", | ||
"version": "2.0.0-beta.3", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "generators": "./generators.json", |
@@ -6,3 +6,3 @@ "use strict"; | ||
function runExecutor(options, context) { | ||
var _a, _b, _c, _d; | ||
var _a, _b, _c; | ||
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () { | ||
@@ -13,3 +13,3 @@ const projectName = context === null || context === void 0 ? void 0 : context.projectName; | ||
// We strip the project root from the main file | ||
const mainFile = (_d = (_c = options.main) === null || _c === void 0 ? void 0 : _c.replace(`${cwd}/`, '')) === null || _d === void 0 ? void 0 : _d.replace(`${sourceRoot}/`, ''); | ||
const mainFile = (_c = options.main) === null || _c === void 0 ? void 0 : _c.replace(`${cwd}/`, ''); | ||
return (0, utils_1.runGoCommand)(context, 'run', [mainFile], { cmd: options.cmd, cwd }); | ||
@@ -16,0 +16,0 @@ }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27667