Files
meteor/tools
David Glasser a17fcf253c Fix useMyCaller
Before:

   While reading package from
   `/private/tmp/meteor-duplicate-path-error/packages/dupe`:

   /Users/glasser/.meteor/packages/meteor-tool/.1.0.45.1y6cwq8++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/package-api.js:22:5:
   Invalid 'where' argument: '[object Object]'
   at Array.forEach (native)
   at Function._.each._.forEach
   (/Users/glasser/.meteor/packages/meteor-tool/.1.0.45.1y6cwq8++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
   at toArchArray
   (/Users/glasser/.meteor/packages/meteor-tool/.1.0.45.1y6cwq8++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/package-api.js:22:5)
   at PackageAPI._.extend.addFiles
   (/Users/glasser/.meteor/packages/meteor-tool/.1.0.45.1y6cwq8++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/package-api.js:287:12)
   at package.js:2:7

After:

   While reading package from
   `/private/tmp/meteor-duplicate-path-error/packages/dupe`:
   package.js:2:7: Invalid 'where' argument: '[object Object]'

The major problem here was that numeric useMyCaller never quite worked,
since useMyCaller was only used to calculate the file/line/etc for the
error, and not to convince formatMessages to not print the rest of the
stack.

The other issue is that `_.each` adds two levels of stack over just
using a `for` loop, whereas 8bcbd6534 only added 1 to the useMyCaller
argument.
2015-03-31 10:52:42 -04:00
..
2015-02-10 11:56:20 -08:00
2014-12-12 09:03:10 -05:00
2014-12-04 17:56:04 -08:00
2015-03-09 15:39:22 -07:00
2015-03-31 10:52:42 -04:00
2015-03-24 17:21:59 -07:00
2015-02-09 21:54:57 -08:00
2015-02-04 12:57:17 -08:00
2015-03-17 13:41:14 -07:00
2015-02-04 13:56:54 -08:00
2015-03-12 19:49:24 -07:00
2015-03-03 18:54:53 -08:00
2014-06-13 17:14:42 -07:00
2015-03-31 10:52:42 -04:00
2015-03-12 17:21:30 -07:00
2015-03-05 15:55:44 -08:00
2015-02-13 20:36:45 -08:00
2015-03-17 13:41:14 -07:00
2015-03-05 21:56:40 -08:00
2015-02-17 09:22:48 -08:00
2015-03-23 14:57:54 -07:00
2015-03-27 23:13:59 -07:00