René's URL Explorer Experiment


Title: Fixed: Cannot read property 'encode' of undefined during executing writeFile() by makishvili · Pull Request #456 · github-tools/github · GitHub

Open Graph Title: Fixed: Cannot read property 'encode' of undefined during executing writeFile() by makishvili · Pull Request #456 · github-tools/github

X Title: Fixed: Cannot read property 'encode' of undefined during executing writeFile() by makishvili · Pull Request #456 · github-tools/github

Description: I am trying to execute writeFile without optional options-parameter. repo.writeFile('master', 'file.txt', 'some text', some message'); But getting the error: ~project/node_modules/github-api/dist/components/Repository.js:912 var shouldEncode = options.encode !== false; ^ TypeError: Cannot read property 'encode' of undefined at Repository.writeFile (~project/node_modules/github-api/dist/components/Repository.js:912:36) at Object. (~project/gist.js:13:6) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:394:7) at startup (bootstrap_node.js:149:9)

Open Graph Description: I am trying to execute writeFile without optional options-parameter. repo.writeFile('master', 'file.txt', 'some text', some message'); But getting the error: ~project/no...

X Description: I am trying to execute writeFile without optional options-parameter. repo.writeFile('master', 'file.txt', 'some text', some message'); But ge...

Opengraph URL: https://github.com/github-tools/github/pull/456

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1bf2a1b2-33bb-7c5d-0883-b613e96f9cff
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE1A8:77C42:1E5B840:2813777:6971AB24
html-safe-nonce0c08b20b656864253a9aba6828602000113ec0fcf4fe8a7b953aa3af2d4829e4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUE4Ojc3QzQyOjFFNUI4NDA6MjgxMzc3Nzo2OTcxQUIyNCIsInZpc2l0b3JfaWQiOiI2NzIwNzg5NTUyNjc2NTgwMTMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac544e8eb60532e02136ab71f45d1224182e1805e6245e71954db2940b52173dca
hovercard-subject-tagpull_request:125989777
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github-tools/github/pull/456/files
twitter:imagehttps://avatars.githubusercontent.com/u/48478?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/48478?s=400&v=4
og:image:altI am trying to execute writeFile without optional options-parameter. repo.writeFile('master', 'file.txt', 'some text', some message'); But getting the error: ~project/no...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2b0f2f00499ad3dd2c21ad030a3c403edca54df20ea256f6517c6d8c4fa3a1a4
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github-tools/github git https://github.com/github-tools/github.git
octolytics-dimension-user_id16116810
octolytics-dimension-user_logingithub-tools
octolytics-dimension-repository_id3640925
octolytics-dimension-repository_nwogithub-tools/github
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3640925
octolytics-dimension-repository_network_root_nwogithub-tools/github
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release979375c570cc30aefe2a734083debe402a612209
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/github-tools/github/pull/456/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub-tools%2Fgithub%2Fpull%2F456%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub-tools%2Fgithub%2Fpull%2F456%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github-tools%2Fgithub
Reloadhttps://patch-diff.githubusercontent.com/github-tools/github/pull/456/files
Reloadhttps://patch-diff.githubusercontent.com/github-tools/github/pull/456/files
Reloadhttps://patch-diff.githubusercontent.com/github-tools/github/pull/456/files
github-tools https://patch-diff.githubusercontent.com/github-tools
githubhttps://patch-diff.githubusercontent.com/github-tools/github
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub-tools%2Fgithub
Fork 794 https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub-tools%2Fgithub
Star 3.7k https://patch-diff.githubusercontent.com/login?return_to=%2Fgithub-tools%2Fgithub
Code https://patch-diff.githubusercontent.com/github-tools/github
Issues 147 https://patch-diff.githubusercontent.com/github-tools/github/issues
Pull requests 32 https://patch-diff.githubusercontent.com/github-tools/github/pulls
Actions https://patch-diff.githubusercontent.com/github-tools/github/actions
Projects 0 https://patch-diff.githubusercontent.com/github-tools/github/projects
Wiki https://patch-diff.githubusercontent.com/github-tools/github/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/github-tools/github/security
Please reload this pagehttps://patch-diff.githubusercontent.com/github-tools/github/pull/456/files
Insights https://patch-diff.githubusercontent.com/github-tools/github/pulse
Code https://patch-diff.githubusercontent.com/github-tools/github
Issues https://patch-diff.githubusercontent.com/github-tools/github/issues
Pull requests https://patch-diff.githubusercontent.com/github-tools/github/pulls
Actions https://patch-diff.githubusercontent.com/github-tools/github/actions
Projects https://patch-diff.githubusercontent.com/github-tools/github/projects
Wiki https://patch-diff.githubusercontent.com/github-tools/github/wiki
Security https://patch-diff.githubusercontent.com/github-tools/github/security
Insights https://patch-diff.githubusercontent.com/github-tools/github/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fgithub-tools%2Fgithub%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fgithub-tools%2Fgithub%2Fissues%2Fnew%2Fchoose
makishvilihttps://patch-diff.githubusercontent.com/makishvili
github-tools:masterhttps://patch-diff.githubusercontent.com/github-tools/github/tree/master
makishvili:masterhttps://patch-diff.githubusercontent.com/makishvili/github/tree/master
Conversation 1 https://patch-diff.githubusercontent.com/github-tools/github/pull/456
Commits 1 https://patch-diff.githubusercontent.com/github-tools/github/pull/456/commits
Checks 0 https://patch-diff.githubusercontent.com/github-tools/github/pull/456/checks
Files changed https://patch-diff.githubusercontent.com/github-tools/github/pull/456/files
Please reload this pagehttps://patch-diff.githubusercontent.com/github-tools/github/pull/456/files
Fixed: Cannot read property 'encode' of undefined during executing writeFile() https://patch-diff.githubusercontent.com/github-tools/github/pull/456/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/github-tools/github/pull/456/files
990e03e Fixed: Cannot read property 'encode' of undefined during executing wr… makishvili Jun 16, 2017 https://patch-diff.githubusercontent.com/github-tools/github/pull/456/commits/990e03e3dabea0bb13bfecf6df6bc5f5b7613303
Clear filters https://patch-diff.githubusercontent.com/github-tools/github/pull/456/files
Please reload this pagehttps://patch-diff.githubusercontent.com/github-tools/github/pull/456/files
Please reload this pagehttps://patch-diff.githubusercontent.com/github-tools/github/pull/456/files
lib/Repository.jshttps://patch-diff.githubusercontent.com/github-tools/github/pull/456/files#diff-044e7120db7a73eed4fedf8c8ab3397a1d169edb85fcaaa88ba0d48ee39fe80f
View file https://patch-diff.githubusercontent.com/github-tools/github/blob/990e03e3dabea0bb13bfecf6df6bc5f5b7613303/lib/Repository.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/github-tools/github/pull/456/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/github-tools/github/pull/456/files#diff-044e7120db7a73eed4fedf8c8ab3397a1d169edb85fcaaa88ba0d48ee39fe80f
https://patch-diff.githubusercontent.com/github-tools/github/pull/456/files#diff-044e7120db7a73eed4fedf8c8ab3397a1d169edb85fcaaa88ba0d48ee39fe80f
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.