Skip to content

Commit

Permalink
Format only component-related files (#116)
Browse files Browse the repository at this point in the history
* Ensure we are in the component directory before formatting

* Bump version
  • Loading branch information
taylorreece authored Oct 25, 2024
1 parent ec7767a commit 3b5c0d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prismatic-io/prism",
"version": "7.1.4",
"version": "7.1.5",
"description": "Build, deploy, and support integrations in Prismatic from the comfort of your command line",
"keywords": ["prismatic", "cli"],
"homepage": "https://prismatic.io",
Expand Down
1 change: 1 addition & 0 deletions src/commands/components/init/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ For documentation on writing custom components, visit https://prismatic.io/docs/
`);
}

process.chdir(path.join(cwd, name));
const filesToFormat = await getFilesToFormat(name);
await formatSourceFiles(name, filesToFormat);
} finally {
Expand Down

0 comments on commit 3b5c0d7

Please sign in to comment.