Skip to content

Commit

Permalink
Fixes build destructuring false (tgstation#57287)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnturK authored Feb 28, 2021
1 parent 534b19f commit df610c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const taskDm = new Task('dm')
const dmPath = await (async () => {
// Search in array of paths
const paths = [
...(process.env.DM_EXE && process.env.DM_EXE.split(',')),
...((process.env.DM_EXE && process.env.DM_EXE.split(',')) || []),
'C:\\Program Files\\BYOND\\bin\\dm.exe',
'C:\\Program Files (x86)\\BYOND\\bin\\dm.exe',
['reg', 'HKLM\\Software\\Dantom\\BYOND', 'installpath'],
Expand Down

0 comments on commit df610c6

Please sign in to comment.