Skip to content

chore: fix lint:js-in-markdown script - #38334

Merged
codebytere merged 1 commit into
electron:24-x-yfrom
dsanders11:manual-bp/dsanders11/pr/38260/branch/24-x-y
May 24, 2023
Merged

codebytere merged 1 commit into
electron:24-x-yfrom
dsanders11:manual-bp/dsanders11/pr/38260/branch/24-x-y

Conversation

@dsanders11

Copy link
Copy Markdown
Member

Backport of #38260.

See that PR for details.

Notes: none

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label May 16, 2023
@trop trop Bot mentioned this pull request May 16, 2023
1 task done
@trop trop Bot added 24-x-y backport This is a backport PR semver/none labels May 16, 2023
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label May 16, 2023
Comment thread docs/api/protocol.md
ses.protocol.registerFileProtocol('atom', (request, callback) => {
const url = request.url.substr(7)
callback({ path: path.normalize(`${__dirname}/${url}`) })
callback({ path: path.normalize(path.join(__dirname, url)) })

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also just better path joining practice than the original example, glad the linter caught this one 🙂

@dsanders11
dsanders11 force-pushed the manual-bp/dsanders11/pr/38260/branch/24-x-y branch from dfc7917 to 12070bb Compare May 18, 2023 13:28
@dsanders11
dsanders11 force-pushed the manual-bp/dsanders11/pr/38260/branch/24-x-y branch from 12070bb to 594b4cb Compare May 24, 2023 01:09
@dsanders11 dsanders11 mentioned this pull request May 24, 2023
1 task done
@codebytere
codebytere merged commit 2ef49a5 into electron:24-x-y May 24, 2023
@release-clerk

release-clerk Bot commented May 24, 2023

Copy link
Copy Markdown

No Release Notes

@dsanders11
dsanders11 deleted the manual-bp/dsanders11/pr/38260/branch/24-x-y branch May 24, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants