File tree 1 file changed +2
-2
lines changed
libraries/rush-lib/src/logic/operations
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const UNASSIGNED_OPERATION: 'UNASSIGNED_OPERATION' = 'UNASSIGNED_OPERATIO
17
17
18
18
export type IOperationIteratorResult =
19
19
| OperationExecutionRecord
20
- | { weight : 0 ; status : typeof UNASSIGNED_OPERATION } ;
20
+ | { weight : 1 ; status : typeof UNASSIGNED_OPERATION } ;
21
21
22
22
/**
23
23
* Implementation of the async iteration protocol for a collection of IOperation objects.
@@ -166,7 +166,7 @@ export class AsyncOperationQueue
166
166
// remote executing operation which is not ready to process.
167
167
if ( queue . some ( ( operation ) => operation . status === OperationStatus . RemoteExecuting ) ) {
168
168
waitingIterators . shift ( ) ! ( {
169
- value : { weight : 0 , status : UNASSIGNED_OPERATION } ,
169
+ value : { weight : 1 , status : UNASSIGNED_OPERATION } ,
170
170
done : false
171
171
} ) ;
172
172
}
You can’t perform that action at this time.
0 commit comments