Skip to content

Commit

Permalink
Append /index.js or .js where necessary
Browse files Browse the repository at this point in the history
Either do this or use experimental-specifier-resolution=node [1].
Analogous to 5a12476.

[1]: https://nodejs.org/docs/latest-v14.x/api/cli.html#cli_experimental_specifier_resolution_mode
  • Loading branch information
victorlin committed Sep 22, 2022
1 parent 5286931 commit 5cb2694
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/migrate-group
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import os from 'os';
import { basename, relative as relativePath, parse as parsePath } from 'path';
import process from 'process';
import { Group } from '../src/groups';
import { reportUnhandledRejectionsAtExit, run, setupConsole } from '../src/utils/scripts';
import { reportUnhandledRejectionsAtExit, run, setupConsole } from '../src/utils/scripts.js';

const AWS_ACCOUNT_ID = process.env.AWS_ACCOUNT_ID;

Expand Down
4 changes: 2 additions & 2 deletions scripts/provision-group
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import {
import fs from 'fs';
import yaml from 'js-yaml';
import process from 'process';
import { Group } from '../src/groups';
import { reportUnhandledRejectionsAtExit } from '../src/utils/scripts';
import { Group } from '../src/groups.js';
import { reportUnhandledRejectionsAtExit } from '../src/utils/scripts.js';


const COGNITO_USER_POOL_ID = "us-east-1_Cg5rcTged";
Expand Down

0 comments on commit 5cb2694

Please sign in to comment.