diff options
Diffstat (limited to 'src/node/examples/pubsub')
-rw-r--r-- | src/node/examples/pubsub/pubsub_demo.js | 6 |
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; + } }); } |