Skip to content
This repository has been archived by the owner on Mar 11, 2018. It is now read-only.

Commit

Permalink
Use cheque
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanqing committed May 15, 2015
1 parent 85d4acd commit 65b380c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var tomasiPlugins = require('tomasi-plugins');

var tomasi = function(config) {

if (config == null) {
if (cheque.isUndefined(config)) {
throw new Error('missing config');
}

Expand Down

0 comments on commit 65b380c

Please sign in to comment.