Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sprites): correct imports for node12 #2749

Merged
merged 1 commit into from
Mar 20, 2023
Merged

Conversation

blacha
Copy link
Member

@blacha blacha commented Mar 20, 2023

No description provided.

@@ -1,11 +1,11 @@
import { readdir, readFile } from 'node:fs/promises';
import { promises as fs } from 'node:fs';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering what is the difference between import { promises as fs } from 'node:fs'; and import { promises as fs } from 'fs'; ?

@Wentao-Kuang Wentao-Kuang added this pull request to the merge queue Mar 20, 2023
@Wentao-Kuang Wentao-Kuang merged commit 73d4d22 into master Mar 20, 2023
@Wentao-Kuang Wentao-Kuang deleted the fix/support-node12 branch March 20, 2023 22:09
github-merge-queue bot pushed a commit that referenced this pull request Dec 11, 2023
We should prod release #2749 before merging this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants