1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 14:17:59 +01:00

Remove a bit of now-superfluous code and fix Option#setFrom.

This commit is contained in:
Kris Maglione
2010-10-11 03:27:42 -04:00
parent 76b24a6aa7
commit e95bb3708c
3 changed files with 4 additions and 7 deletions

View File

@@ -428,7 +428,7 @@ const Commands = Module("commands", {
io.withSavedValues(["readHeredoc", "sourcing"], function () {
this.sourcing = update({}, sourcing);
args = update({ setFrom: this.file }, args || {});
args = update({ setFrom: this.sourcing.file }, args || {});
if (tokens)
string = commands.replaceTokens(string, tokens);