1
1
mirror of https://github.com/primer/css.git synced 2024-11-11 15:16:03 +03:00

bail from copy.js on Now

This commit is contained in:
Shawn Allen 2018-11-29 16:32:42 -08:00
parent 13f9efdb64
commit b1279a6f21

View File

@ -1,4 +1,9 @@
#!/usr/bin/env node
if (process.env.NOW_URL) {
console.warn('copy.js should not run in Now!')
process.exit(0)
}
const klaw = require('klaw-sync')
const minimatch = require('minimatch')
const {green, red, yellow} = require('colorette')