We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1f1446 commit d9e4a51Copy full SHA for d9e4a51
gruntfile.js
@@ -140,6 +140,9 @@ module.exports = function(grunt) {
140
},[
141
'angular2-*.tgz'
142
]);
143
+ if (packageFiles.length > 1) {
144
+ throw new Error('Multiple packages found!. Delete all but one: ' + packageFiles);
145
+ }
146
var angularPackagePath = path.join(angularDistPath, packageFiles[0]);
147
grunt.config('angularPackagePath', angularPackagePath);
148
});
@@ -158,6 +161,9 @@ module.exports = function(grunt) {
158
161
159
162
'tns-core-modules*.tgz'
160
163
164
165
166
167
var nsPackagePath = path.join(nsDistPath, packageFiles[0]);
168
grunt.config('nsPackagePath', nsPackagePath);
169
0 commit comments