Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gorakong committed Nov 29, 2023
1 parent 50e5a1a commit 8329932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/core/src/RequestTracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ export class RequestGraph extends ContentGraph<
// re-run all requests.
if (type === 'create' && filePath === '') {
for (let [id, node] of this.nodes.entries()) {
if (node?.type === 'request') {
if (node?.type === REQUEST) {
this.invalidNodeIds.add(id);
}
}
Expand Down Expand Up @@ -1032,7 +1032,7 @@ export default class RequestTracker {
requestId != null ? this.graph.getInvalidations(requestId) : [];
let {requestNodeId, deferred} = this.startRequest({
id: request.id,
type: 'request',
type: REQUEST,
requestType: request.type,
invalidateReason: INITIAL_BUILD,
});
Expand Down

0 comments on commit 8329932

Please sign in to comment.