code: function(pattern, callback) {
      glob(pattern, opts, function(err, globbedFiles) {
        if (isArray(globbedFiles) && globbedFiles.length && !err) {
          callback(null, globbedFiles);
        }
        else {
          console.error('The glob pattern ' + JSON.stringify(pattern) + ' did not match any files!');
          callback(null, []);
        }
      });
    }
docs: Relative patterns are matched against the current working directory.