Skip to content

Commit

Permalink
fix format scripts for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
chrypnotoad committed Aug 7, 2024
1 parent 0b548d4 commit 787878c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"clean-log": "rm -rf ./log",
"lint": "eslint \"./src/**/*.ts\"",
"update-docker-dev": "docker build -t registry.gitlab.com/shardeum/json-rpc-server:dev . --push",
"format-check": "prettier --check './src/**/*.ts'",
"format-fix": "prettier --write './src/**/*.ts'",
"format-check": "prettier --check \"./src/**/*.ts\"",
"format-fix": "prettier --write \"./src/**/*.ts\"",
"check-patches": "node -e \"const { execSync } = require('child_process'); const patches = require('fs').readdirSync('.').filter(f => f.endsWith('.patch')); if (patches.length > 0) { let allPassed = true; patches.forEach(patch => { try { execSync('git apply --verbose --check ' + patch, { stdio: 'inherit' }); console.log('✔ ' + patch + ' can be applied successfully.'); } catch { console.error('✘ ' + patch + ' failed to apply.'); allPassed = false; } }); if (!allPassed) process.exit(1); } else { console.log('No patch files found.'); }\""
},
"author": "thantsintoe",
Expand Down

0 comments on commit 787878c

Please sign in to comment.