Skip to content

Commit 7a2a06f

Browse files
committed
style: add missing semicolon
1 parent d5b558b commit 7a2a06f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/scripts/version.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const { platform, release } = require('os');
77
const { format } = require('util');
88
const cliVersion = require('../../package.json').version;
99
const rewire = require('rewire');
10-
const { spawn } = require('hexo-util')
10+
const { spawn } = require('hexo-util');
1111

1212
function getConsoleLog({ args }) {
1313
return args.map(arr => format.apply(null, arr)).join('\n');
@@ -39,7 +39,7 @@ describe('version', () => {
3939

4040
if (process.env.CI === 'true') {
4141
if (process.platform === 'darwin') {
42-
const osInfo = await spawn('sw_vers', '-productVersion')
42+
const osInfo = await spawn('sw_vers', '-productVersion');
4343
output.should.contain(`os: ${platform()} ${release()} ${osInfo}`);
4444
} else if (process.platform === 'linux') {
4545
const v = await spawn('cat', '/etc/os-release');

0 commit comments

Comments
 (0)