Skip to content

Commit

Permalink
capricorn86#526@minor: Continue Fixes Problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mas0nShi committed Oct 16, 2022
1 parent 9cce579 commit b72cdd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/happy-dom/src/xml-http-request/XMLHttpRequest.ts
Expand Up @@ -525,7 +525,7 @@ export default class XMLHttpRequest extends XMLHttpRequestEventTarget {
// Start the other Node Process, executing this string
ChildProcess.execFileSync(process.argv[0], ['-e', execString]);

// if syncFile still exists, the request failed, if contentFile doesn't exist, the request failed.
// If syncFile still exists, the request failed, if contentFile doesn't exist, the request failed.
if (FS.existsSync(syncFile) || !FS.existsSync(contentFile)) {
throw new Error('Synchronous request failed');
}
Expand Down

0 comments on commit b72cdd9

Please sign in to comment.