Skip to content

Commit 6418f07

Browse files
committed
scripts/package.js: fix formatting
1 parent a9ef783 commit 6418f07

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

scripts/package.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
#!/usr/bin/env node
22
// Copyright 2022 MFB Technologies, Inc.
33

4-
const path = require("path");
5-
const fs = require("fs");
6-
const childProcess = require('child_process');
4+
const path = require("path")
5+
const fs = require("fs")
6+
const childProcess = require("child_process")
77

8-
const targetPackDirectory = path.join(__dirname, ".." ,"packed");
9-
const npmPackCommand = `npm pack --pack-destination ${targetPackDirectory}`;
8+
const targetPackDirectory = path.join(__dirname, "..", "packed")
9+
const npmPackCommand = `npm pack --pack-destination ${targetPackDirectory}`
1010

11-
(function main() {
12-
fs.mkdir(targetPackDirectory, { recursive: true }, (err) => {
13-
if (err) throw err;
14-
});
11+
;(function main() {
12+
fs.mkdir(targetPackDirectory, { recursive: true }, err => {
13+
if (err) throw err
14+
})
1515
childProcess.execSync(npmPackCommand)
16-
})();
16+
})()

0 commit comments

Comments
 (0)