Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Don't try to parse file if error found

  • Loading branch information...
commit 460c5fb79961697beb334ac5bff25a6abc585ce6 1 parent ff261c4
Lajos Koszti authored December 06, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  lib/inireadercore.js
1  lib/inireadercore.js
@@ -225,6 +225,7 @@ IniReaderCore.prototype.load = IniReaderCore.prototype.init = function load(file
225 225
     }
226 226
     if (!this.file) {
227 227
         this.emit('error', new Error('No file name given'));
  228
+        return;
228 229
     }
229 230
     try {
230 231
         if (this.async) {

0 notes on commit 460c5fb

Please sign in to comment.
Something went wrong with that request. Please try again.