Fix ci

This commit is contained in:
afc163 2019-06-05 21:50:51 +08:00
parent 9991d9a9c0
commit 6e80b275a5
No known key found for this signature in database
GPG Key ID: 5F00908D72002306

View File

@ -42,7 +42,7 @@ if (process.env.RUN_ENV === 'PRODUCTION') {
project_token: '8adbb892-ee4a-4d6f-93bb-a03219fb6778',
upload: process.env.CI === 'true',
fail_build: true,
exclude_assets: name => ['antd.min.js', 'antd.min.css'].contains(name),
exclude_assets: name => ['antd.min.js', 'antd.min.css'].includes(name),
}),
);
});