Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Walker-GM committed Aug 18, 2024
1 parent 69ebdca commit c6b9e9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ module.exports = {
'packages/api-server/**/*.ts',
'packages/graphql-server/**/*.ts',
'packages/realtime/**/*.ts',
'packages/framework-tools/**/*.ts',
],
rules: {
'react-hooks/rules-of-hooks': 'off',
Expand Down
6 changes: 5 additions & 1 deletion packages/framework-tools/src/attw.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { $ } from 'zx'
import { $, usePwsh } from 'zx'

interface Problem {
kind: string
Expand All @@ -11,6 +11,10 @@ interface Options {
}

export async function attw({ cwd }: Options): Promise<Problem[]> {
if (process.platform === 'win32') {
usePwsh()
}

// Run attw via it's CLI
await $({
nothrow: true,
Expand Down

0 comments on commit c6b9e9d

Please sign in to comment.