@inditextech/docouture-publish-gh-pages 1.0.0 → 1.1.1

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -145,7 +145,7 @@ const defaultGit = {
145
145
  await execFileAsync('git', ['ls-remote', '--exit-code', remote, branch])
146
146
  return true
147
147
  } catch (err) {
148
- if (err && err.code === 2) return false
148
+ if (err?.code === 2) return false
149
149
  throw err
150
150
  }
151
151
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inditextech/docouture-publish-gh-pages",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "docouture publish driver: pushes a built site to a GitHub Pages branch. Invoked by `docouture publish gh-pages`, not an Antora extension.",
5
5
  "repository": {
6
6
  "type": "git",