Skip to content

Commit 18f843d

Browse files
committed
chore: format run.js
1 parent b42875f commit 18f843d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

bin/run

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
#!/usr/bin/env node
22

3-
const fs = require('fs')
4-
const path = require('path')
5-
const project = path.join(__dirname, '../tsconfig.json')
6-
const dev = fs.existsSync(project)
3+
const fs = require("fs");
4+
const path = require("path");
5+
const project = path.join(__dirname, "../tsconfig.json");
6+
const dev = fs.existsSync(project);
77

88
if (dev) {
9-
require('ts-node').register({project})
9+
require("ts-node").register({ project });
1010
}
1111

12-
require(`../${dev ? 'src' : 'lib'}`).run()
13-
.catch(require('@oclif/errors/handle'))
12+
require(`../${dev ? "src" : "lib"}`)
13+
.run()
14+
.catch(require("@oclif/errors/handle"));

0 commit comments

Comments
 (0)