Skip to content

Commit

Permalink
Merge pull request #40 from entando/ENG-1597_location-cli-argument-ge…
Browse files Browse the repository at this point in the history
…nerates-error

ENG-1597 location cli argument fix
  • Loading branch information
ffleandro authored Dec 4, 2020
2 parents deea408 + 3aea75e commit 409ca05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/env-bundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ const assetComponentDescriptorProcessor = function(type, location, code, compone
delete component.path;

const descriptorName = `${typePlural}/${code}/${code}-descriptor.yaml`;
fs.promises.writeFile(descriptorName, yaml.safeDump(component, { lineWidth: 1000000 }));
fs.promises.writeFile( `${location}/${descriptorName}`, yaml.safeDump(component, { lineWidth: 1000000 }));

return descriptorName;
}));
Expand Down

0 comments on commit 409ca05

Please sign in to comment.