Commit 259b2de8 authored by nanahira's avatar nanahira

fix rc shortcut

parent ea4f9efd
......@@ -21,7 +21,7 @@ export class CompatModule extends BaseModule {
const matching = expr.match(rcRegexp);
return session.execute({
name: 'rc',
args: [matching[1], ...(matching[2] ? [matching[2].trim()] : [])],
args: [matching[2]?.trim() || '检定', matching[1]],
});
}
return next();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment