Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 863157a

Browse files
fixes format in list
Signed-off-by: Eric Wang <skygragon@gmail.com>
1 parent 98d9a2f commit 863157a

File tree

6 files changed

+7
-3
lines changed

6 files changed

+7
-3
lines changed

‎bin/pkg‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ case `uname -m` in
1919
*) echo "Arch not supported!" && exit 1
2020
esac
2121

22+
mkdir -p dist/
2223
rm -rf dist/*
2324
find node_modules -name "*.node" -exec cp {} dist/ \;
2425
npm run pkg -- node$ver-$os-$arch

‎icons/ascii.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"like": "*",
55
"unlike": " ",
66
"lock": "$",
7+
"nolock": " ",
78
"empty": " ",
89
"ac": "O",
910
"notac": "X",

‎icons/default.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"like": "",
55
"unlike": "",
66
"lock": "🔒",
7+
"nolock": " ",
78
"empty": " ",
89
"ac": "",
910
"notac": "",

‎icons/win7.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"like": "",
55
"unlike": " ",
66
"lock": "$",
7+
"nolock": " ",
78
"empty": " ",
89
"ac": "O",
910
"notac": "X",

‎lib/commands/list.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ cmd.handler = function(argv) {
6767
if (problem.locked) ++stat.locked;
6868
if (problem.starred) ++stat.starred;
6969

70-
log.printf('%s %s %s [%3d] %-60s %-6s (%.2f %%)',
70+
log.printf('%s %s %s [%4d] %-60s %-6s (%.2f %%)',
7171
(problem.starred ? chalk.yellow(icon.like) : icon.empty),
72-
(problem.locked ? chalk.red(icon.lock) : icon.empty),
72+
(problem.locked ? chalk.red(icon.lock) : icon.nolock),
7373
h.prettyState(problem.state),
7474
problem.fid,
7575
problem.name,

‎lib/commands/submission.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function doTask(problem, queue, cb) {
6262
// - green: accepted, fresh download
6363
// - yellow: not ac-ed, fresh download
6464
// - white: existed already, skip download
65-
log.printf('[%3d] %-60s %s', problem.fid, problem.name,
65+
log.printf('[%4d] %-60s %s', problem.fid, problem.name,
6666
(e ? chalk.red('ERROR: ' + (e.msg || e)) : msg));
6767
if (cb) cb(e);
6868
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /