Skip to content

Commit b215d20

Browse files
j-piaseckifacebook-github-bot
authored andcommitted
Remove import from a CJS module
Summary: Changelog: [Internal] `test-release-local` is not a ES6 module and it should use require instead of import. Differential Revision: D86105703
1 parent a034841 commit b215d20

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/release-testing/test-release-local.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
* and to make it more accessible for other devs to play around with.
1818
*/
1919

20-
import {getPackageVersionStrByTag} from '../releases/utils/npm-utils';
21-
2220
const {initNewProjectFromSource} = require('../e2e/init-project-e2e');
21+
const {getPackageVersionStrByTag} = require('../releases/utils/npm-utils');
2322
const {REPO_ROOT} = require('../shared/consts');
2423
const {
2524
checkPackagerRunning,

0 commit comments

Comments
 (0)