From 9479b7dc746b442271c6d9837e4ea8e1408952e0 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Thu, 1 Feb 2018 11:02:07 +0100 Subject: [PATCH] chore(xen-api): typo Fixes vatesfr/xo-web#2606 --- packages/xen-api/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/xen-api/src/index.js b/packages/xen-api/src/index.js index c3063db79..837435f95 100644 --- a/packages/xen-api/src/index.js +++ b/packages/xen-api/src/index.js @@ -819,7 +819,7 @@ export class Xapi extends EventEmitter { const taskWatchers = this._taskWatchers const taskWatcher = taskWatchers[ref] if (taskWatcher !== undefined) { - taskWatcher.reject(new Error('task has been detroyed before completion')) + taskWatcher.reject(new Error('task has been destroyed before completion')) delete taskWatchers[ref] } }