Skip to content

Commit

Permalink
refactor: replace assert with with (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno authored Nov 19, 2024
1 parent b53d01f commit 5180451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handlers/RSS.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import RssFeedEmitter from 'rss-feed-emitter';

import feeds from '../resources/rssFeeds.json' assert { type: 'json' };
import feeds from '../resources/rssFeeds.json' with { type: 'json' };
import { logger } from '../utilities/index.js';

/**
Expand Down
2 changes: 1 addition & 1 deletion handlers/Twitter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Twitter from 'twitter';

import toWatch from '../resources/tweeters.json' assert { type: 'json' };
import toWatch from '../resources/tweeters.json' with { type: 'json' };
import { logger } from '../utilities/index.js';
import { twiClientInfo, TWITTER_TIMEOUT } from '../utilities/env.js';

Expand Down

0 comments on commit 5180451

Please sign in to comment.