Skip to content

Commit

Permalink
fix(lint): concurrenct as const (closes #261)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Jun 22, 2017
1 parent ab118fd commit 5762c07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-uploader",
"version": "3.1.1",
"version": "3.1.2",
"main": "bundles/ngx-uploader.umd.js",
"module": "index.js",
"esnext": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/ngx-uploader/classes/ngx-uploader.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class NgUploaderService {
});
break;
case 'uploadAll':
let concurrency = event.concurrency > 0 ? event.concurrency : Number.POSITIVE_INFINITY;
const concurrency = event.concurrency > 0 ? event.concurrency : Number.POSITIVE_INFINITY;

const subscriber = Subscriber.create((data: UploadOutput) => {
this.serviceEvents.emit(data);
Expand Down

0 comments on commit 5762c07

Please sign in to comment.