aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/examples/pubsub/pubsub_demo.js
diff options
context:
space:
mode:
authorGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-02-24 09:07:17 -0800
committerGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-02-24 09:07:17 -0800
commita29a1223d7371bcbb2c2ee5045c8901798a26704 (patch)
tree181f840de36bf41030b71a2ee00d9b621f38de2a /src/node/examples/pubsub/pubsub_demo.js
parentf7c87c2741e18e9fb481252151f14fff8ed026d3 (diff)
parent99885c98346c5052e636b3c3c2c035e1bfbf52fc (diff)
Merge pull request #737 from murgatroid99/node_fix_lint
Fixed old lint errors
Diffstat (limited to 'src/node/examples/pubsub/pubsub_demo.js')
-rw-r--r--src/node/examples/pubsub/pubsub_demo.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/node/examples/pubsub/pubsub_demo.js b/src/node/examples/pubsub/pubsub_demo.js
index a9b6acbd7e..94d2002d86 100644
--- a/src/node/examples/pubsub/pubsub_demo.js
+++ b/src/node/examples/pubsub/pubsub_demo.js
@@ -27,6 +27,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+'use strict';
+
var async = require('async');
var fs = require('fs');
var GoogleAuth = require('googleauth');
@@ -270,7 +272,9 @@ function main(callback) {
if (require.main === module) {
main(function(err) {
- if (err) throw err;
+ if (err) {
+ throw err;
+ }
});
}