hubot 11.2.1 → 11.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hubot",
3
- "version": "11.2.1",
3
+ "version": "11.2.2",
4
4
  "author": "hubot",
5
5
  "keywords": [
6
6
  "github",
@@ -99,7 +99,7 @@ class Shell extends Adapter {
99
99
  })
100
100
 
101
101
  const existingHistory = (await fs.promises.readFile(historyPath, 'utf8')).split('\n')
102
- existingHistory.forEach(line => this.#rl.history.push(line))
102
+ existingHistory.reverse().forEach(line => this.#rl.history.push(line))
103
103
 
104
104
  try {
105
105
  this.#rl.prompt()