mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Make api.add_files("f") default to ["client","server"].
This commit is contained in:
@@ -1436,7 +1436,7 @@ _.extend(Package.prototype, {
|
||||
paths = paths ? [paths] : [];
|
||||
|
||||
if (!(where instanceof Array))
|
||||
where = where ? [where] : [];
|
||||
where = where ? [where] : ["client", "server"];
|
||||
|
||||
_.each(paths, function (path) {
|
||||
_.each(where, function (w) {
|
||||
|
||||
Reference in New Issue
Block a user