Skip to content

Commit b799cfd

Browse files
committed
yarn prettier-all
1 parent bf55e0a commit b799cfd

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

scripts/release/utils.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ const getBuildInfo = async () => {
7272
const branch = await execRead('git branch | grep \\* | cut -d " " -f2', {
7373
cwd,
7474
});
75-
const commit = await execRead('git show -s --no-show-signature --format=%h', {cwd});
75+
const commit = await execRead('git show -s --no-show-signature --format=%h', {
76+
cwd,
77+
});
7678
const checksum = await getChecksumForCurrentRevision(cwd);
7779
const dateString = await getDateStringForCommit(commit);
7880
const version = isExperimental

scripts/rollup/build-all-release-channels.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,14 @@ const sha = String(
2323
).trim();
2424

2525
let dateString = String(
26-
spawnSync('git', ['show', '-s', '--no-show-signature', '--format=%cd', '--date=format:%Y%m%d', sha])
27-
.stdout
26+
spawnSync('git', [
27+
'show',
28+
'-s',
29+
'--no-show-signature',
30+
'--format=%cd',
31+
'--date=format:%Y%m%d',
32+
sha,
33+
]).stdout
2834
).trim();
2935

3036
// On CI environment, this string is wrapped with quotes '...'s

0 commit comments

Comments
 (0)