Skip to content

Commit

Permalink
fix: plugin-multiple-editor build error
Browse files Browse the repository at this point in the history
  • Loading branch information
liujuping committed Feb 23, 2024
1 parent 1f287c2 commit 0e7cd37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/plugin-multiple-editor/scripts/build.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
process.env.BABEL_ENV = 'production';
process.env.NODE_ENV = 'production';
// process.env.CI = 'false';

process.on('unhandledRejection', err => {
console.log(err);
Expand Down Expand Up @@ -168,6 +169,10 @@ try {
}
return reject(new Error(messages.errors.join('\n\n')));
}
console.log('process.env.CI', process.env.CI, process.env.CI &&
(typeof process.env.CI !== 'string' ||
process.env.CI.toLowerCase() !== 'false') &&
messages.warnings.length)
if (
process.env.CI &&
(typeof process.env.CI !== 'string' ||
Expand Down

0 comments on commit 0e7cd37

Please sign in to comment.