Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 48d7089

Browse files
committed
Fix double call .trim()
1 parent e5f63f1 commit 48d7089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/linter-rust.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class LinterRust
3030
@subscriptions.add atom.config.observe 'linter-rust.rustcPath',
3131
(rustcPath) =>
3232
rustcPath = do rustcPath.trim if rustcPath
33-
@rustcPath = do rustcPath.trim
33+
@rustcPath = rustcPath
3434

3535
@subscriptions.add atom.config.observe 'linter-rust.cargoPath',
3636
(cargoPath) =>

0 commit comments

Comments
 (0)