Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update scripts to consistent indentation
The main changes in these scripts are indentation adjustments, from tab-based to space-based, to maintain code consistency. The inclusion of commas at the end of certain script parts, in the new-post.mjs and generate-og-images.mjs files, makes the code follow modern JavaScript standards more closely.
- Loading branch information
Showing
3 changed files
with
82 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ draft: true | |
--- | ||
This is a draft post | ||
` | ||
`, | ||
); | ||
|
||
console.log(chalk.green(`Created ${filepath}`)); | ||
|