Skip to content

Commit 908cc27

Browse files
committed
Removed redundant '.dev' suffix from expected --dev mode JSON path, now that it includes 'dev/'
1 parent 466fef0 commit 908cc27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/bump/resources.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Bumps @require'd JS + rising-stars CSS @resource's in userscripts
44
// NOTE: Doesn't git commit to allow potentially required script editing from breaking changes
5-
// NOTE: Pass --dev to use dev/userJSfiles.dev.json for faster init
5+
// NOTE: Pass --dev to use dev/userJSfiles.json for faster init
66

77
(async () => {
88

@@ -108,7 +108,7 @@
108108
log.working(`\n${ devMode ? 'Collecting' : 'Searching for' } userscripts...\n`)
109109
const userJSfiles = await (async () =>
110110
devMode ? JSON.parse(
111-
await fs.promises.readFile(require('path').join(__dirname, 'dev/userJSfiles.dev.json'), 'utf-8'))
111+
await fs.promises.readFile(require('path').join(__dirname, 'dev/userJSfiles.json'), 'utf-8'))
112112
: findUserJS()
113113
)()
114114
log.dev(userJSfiles)

0 commit comments

Comments
 (0)