From 1ae3c9414df639edaca7e8c4b5180578c5e17d1d Mon Sep 17 00:00:00 2001 From: Mark Bokil Date: Thu, 22 Mar 2018 09:18:30 -0400 Subject: [PATCH] fix for deprecation error pane.addItem view, 0 was deprecated code, refactored to avoid latest API. --- lib/gulp-control.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gulp-control.coffee b/lib/gulp-control.coffee index 1055ead..361f660 100644 --- a/lib/gulp-control.coffee +++ b/lib/gulp-control.coffee @@ -21,7 +21,7 @@ module.exports = GulpControl = views.push view pane = atom.workspace.getActivePane() - item = pane.addItem view, 0 + item = pane.addItem view, {index:0} pane.activateItem item return