Skip to content

Commit

Permalink
Remove yaml line limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmaanT committed Dec 22, 2020
1 parent c7fa0f2 commit 81775f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.1.0 (UNRELEASED)
## 0.1.1 (2020-12-22)

* Remove yaml line limit

## 0.1.0 (2020-12-21)

* Initial release
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# cdkactions

![Release](https://github.com/ArmaanT/cdkactions/workflows/Release/badge.svg)

[![codecov](https://codecov.io/gh/ArmaanT/cdkactions/branch/master/graph/badge.svg)](https://codecov.io/gh/ArmaanT/cdkactions)
[![NPM](https://badge.fury.io/js/cdkactions.svg)](https://badge.fury.io/js/cdkactions)
[![PyPI](https://badge.fury.io/py/cdkactions.svg)](https://badge.fury.io/py/cdkactions)
Expand Down
2 changes: 1 addition & 1 deletion packages/cdkactions/src/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class Stack extends Construct {
const workflowOutput = path.join(session.outdir, child.outputFile);

// Get raw yaml of workflow
const rawYaml = yaml.safeDump(child.toGHAction());
const rawYaml = yaml.safeDump(child.toGHAction(), { lineWidth: -1 });

// Save the formatted yaml
fs.writeFileSync(workflowOutput, `# Generated by cdkactions. Do not modify\n# Generated as part of the '${this.id}' stack.\n`);
Expand Down

0 comments on commit 81775f5

Please sign in to comment.