mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
chore(snapshot): do not upload ionic-site
This commit is contained in:
@ -13,7 +13,7 @@ module.exports = function(options) {
|
|||||||
list.forEach(function(file) {
|
list.forEach(function(file) {
|
||||||
var url = urlPath + '/' + file
|
var url = urlPath + '/' + file
|
||||||
|
|
||||||
if (url.indexOf('/test/') > -1) return;
|
if (url.indexOf('/test/') > -1 || url.indexOf('/ionic-site/') > -1 || url.indexOf('/docs/') > -1) return;
|
||||||
|
|
||||||
fs.stat(dir + '/' + file, function(err, stat) {
|
fs.stat(dir + '/' + file, function(err, stat) {
|
||||||
if (stat && stat.isDirectory()) {
|
if (stat && stat.isDirectory()) {
|
||||||
|
Reference in New Issue
Block a user