Skip to content

Commit

Permalink
Fix building types?
Browse files Browse the repository at this point in the history
  • Loading branch information
martenrichter committed Dec 30, 2023
1 parent f8b411a commit a1cbd68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions transports/http3-quiche/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const extractthirdparty = async () => {
} catch (error) {
console.log('rename tmp dir failed:', error)
console.log('copy instead start... (can take a while)...')
await cp(path.join(copath, '/transports/http3-quiche/third_party'), destdir, {recursive: true})
await cp(path.join(copath, '/transports/http3-quiche/third_party'), destdir, { recursive: true })
console.log('copy instead finished')
}
} catch (error) {
Expand Down Expand Up @@ -168,7 +168,7 @@ const prebuildInstall = async (args) => {
const buildTypes = async () => {
return new Promise((resolve, reject) => {
const tsc = 'tsc'
const proc = spawn(tsc, {
const proc = spawn(tsc, ['--build'], {
cwd: process.cwd(),
stdio: [null, 'inherit', 'inherit'],
shell: true
Expand Down Expand Up @@ -210,7 +210,7 @@ if (argv.length > 2) {
if (platform === 'win32') platformargs.push('-t', 'ClangCL')
const pbargs = []
const pbargspre = []
if (platform === 'win32') pbargs.push('-t', 'ClangCL')
if (platform === 'win32') pbargs.push('-t', 'ClangCL')
if (env.BUILDARCH) {
pbargspre.push('--arch', env.BUILDARCH)
platformargs.push('--arch', env.BUILDARCH)
Expand Down

0 comments on commit a1cbd68

Please sign in to comment.