We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef97100 commit f4d7f00Copy full SHA for f4d7f00
src/node/plugin.ts
@@ -150,9 +150,6 @@ export class PluginAPI {
150
if (!packageJSON.version) {
151
throw new Error("plugin missing version")
152
}
153
- if (!packageJSON.description) {
154
- throw new Error("plugin missing description")
155
- }
156
157
const p = {
158
name: packageJSON.name,
@@ -181,7 +178,7 @@ interface PackageJSON {
181
178
182
179
183
180
184
-function q(s: string): string {
+function q(s: string | undefined): string {
185
if (s === undefined) {
186
s = "undefined"
187
0 commit comments