@helloleo/plugins 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -24989,7 +24989,7 @@ ${oauth.map((p) => {
|
|
|
24989
24989
|
const requireEnvFn = oauth.length ? `
|
|
24990
24990
|
function requireEnv(value: string | undefined, name: string): string {
|
|
24991
24991
|
if (!value) {
|
|
24992
|
-
throw new Error(\`\${name} is not set. Add it to .env
|
|
24992
|
+
throw new Error(\`\${name} is not set. Add it to .env.\`)
|
|
24993
24993
|
}
|
|
24994
24994
|
return value
|
|
24995
24995
|
}
|
package/package.json
CHANGED
|
@@ -44,7 +44,7 @@ ${oauth
|
|
|
44
44
|
? `
|
|
45
45
|
function requireEnv(value: string | undefined, name: string): string {
|
|
46
46
|
if (!value) {
|
|
47
|
-
throw new Error(\`\${name} is not set. Add it to .env
|
|
47
|
+
throw new Error(\`\${name} is not set. Add it to .env.\`)
|
|
48
48
|
}
|
|
49
49
|
return value
|
|
50
50
|
}
|