From 0a39d21f2999182bac7dd91b2e8c6034cecd666f Mon Sep 17 00:00:00 2001 From: Carlo Morgenstern Date: Sun, 24 Oct 2021 16:47:31 +0200 Subject: [PATCH] Updated gh-pages to similar styling --- gh-pages.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gh-pages.js b/gh-pages.js index 487ffd5..d5c39b7 100644 --- a/gh-pages.js +++ b/gh-pages.js @@ -1,6 +1,3 @@ -const ghpages = require("gh-pages"); -ghpages.publish("docs/", (err) => { - if (err) { - console.error(err); - } -}); \ No newline at end of file +const ghpages = require('gh-pages'); + +ghpages.publish('docs/', error => { if (error) console.error(error) });