mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-30 08:56:14 +01:00
5 lines
133 B
JavaScript
5 lines
133 B
JavaScript
if (!process.env.PUBLISH) {
|
|
console.error('npm publish must be run with the PUBLISH environment variable set');
|
|
process.exit(1);
|
|
}
|