Skip to content

Commit 2512e7b

Browse files
committed
Add format action
1 parent 08d6491 commit 2512e7b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

scripts/format

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env node
2+
3+
const shell = require('shelljs');
4+
const path = require('path');
5+
const { basename } = require('path');
6+
7+
const basedir = path.resolve(basename(__dirname), '..');
8+
9+
const command = path.join(basedir, 'bin', 'format.sh');
10+
shell.exec(command);

0 commit comments

Comments
 (0)