Skip to content

Commit

Permalink
'.ts,.tsx' -> .ts,.tsx to make command work on windows, format
Browse files Browse the repository at this point in the history
  • Loading branch information
smolck committed Oct 28, 2020
1 parent 4563536 commit d4ed8c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ require.main === module &&
$`cleaning build folder`
await fs.emptyDir(fromRoot('build'))
await copyAll()
await run("babel --extensions .ts,.tsx src -d build")
await run('babel --extensions .ts,.tsx src -d build')
})

module.exports = { paths, copy, copyAll }
2 changes: 1 addition & 1 deletion tools/start-release.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const { go, run, } = require('./runner')
const { go, run } = require('./runner')

go(async () => {
// TODO(smolck): Maybe verify `npm run build` has been run first somehow?
Expand Down
2 changes: 1 addition & 1 deletion tools/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ go(async () => {
await copyAll()

$`running babel stuff`
await run("babel --extensions '.ts,.tsx' src -d build")
await run('babel --extensions .ts,.tsx src -d build')

run('electron build/bootstrap/main.js', {
shh: true,
Expand Down

0 comments on commit d4ed8c9

Please sign in to comment.