validateReleaseAssets
Validates the files of a release.
Import:
import { validateReleaseAssets } from '@mnaoumov/obsidian-dev-toolkit/plugin-release-checks';Signature:
function validateReleaseAssets(fileNames: readonly string[], folderLabel: string): PluginCheckFinding[]Parameters:
| Parameter | Type | Description |
|---|---|---|
fileNames |
readonly string[] | The names of the files in the release. |
folderLabel |
string | How the folder holding them is named in a finding. |
Returns: PluginCheckFinding[] — The findings, empty when main.js and manifest.json are both there.