Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
caccialdo committed Jul 7, 2017
1 parent 73bc503 commit 4980d71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rollup.js
Expand Up @@ -94,7 +94,7 @@ export function rollup ( options ) {

timeStart( '--GENERATE--' );

return Promise.resolve().then(() => {
return Promise.resolve().then( () => {
return bundle.render( options );
}).then( rendered => {
timeEnd( '--GENERATE--' );
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Expand Up @@ -897,7 +897,7 @@ describe( 'rollup', function () {
format: 'iife',
moduleName: 'myBundle'
}))
.then(() => {
.then( () => {
const relevantWarnings = warnings.filter( warning => warning.code === 'MISSING_NODE_BUILTINS' );
assert.equal( relevantWarnings.length, 1 );
assert.equal( relevantWarnings[0].message, `Creating a browser bundle that depends on Node.js built-in module ('util'). You might need to include https://www.npmjs.com/package/rollup-plugin-node-builtins` );
Expand Down

0 comments on commit 4980d71

Please sign in to comment.