GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fs: use ES6 octal literals for mode by vkurchatkin · Pull Request #281 · nodejs/node

Conversation

@vkurchatkin

@vkurchatkin vkurchatkin commented Jan 10, 2015

Copy link
Copy Markdown
Contributor

Update docs, comments and code to use ES6 octal literals instead of decimal + comment.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
cjihrig
cjihrig reviewed Jan 10, 2015
View reviewed changes
Comment thread lib/fs.js Outdated

@cjihrig cjihrig Jan 10, 2015

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Should this be 0o666?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@vkurchatkin vkurchatkin Jan 10, 2015

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Well, that's embarrassing. Thanks for catching this

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vkurchatkin
fs: use ES6 octal literals for mode
f8824d6
Update docs, comments and code to use ES6 octal literals
instead of decimal + comment.
@vkurchatkin
vkurchatkin force-pushed the octal-mode branch from 1bf8924 to f8824d6 Compare January 10, 2015 20:23
@brendanashworth

brendanashworth commented Jan 10, 2015

Copy link
Copy Markdown
Contributor

Wouldn't this require the --harmony flag to be passed to node? Or will version 1.x have ES6 enabled by default?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fishrock123

Fishrock123 commented Jan 10, 2015

Copy link
Copy Markdown
Contributor

@brendanashworth It will have whatever v8 has unflagged. Looks like literal octals are unflagged in the version we are using. https://www.chromestatus.com/features/4930171014479872

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@piscisaureus

piscisaureus commented Jan 10, 2015

Copy link
Copy Markdown
Contributor

lgtm

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

piscisaureus pushed a commit that referenced this pull request Jan 10, 2015
@vkurchatkin @piscisaureus
fs: use ES6 octal literals for mode
7f9a6c6
Update docs, comments and code to use ES6 octal literals instead of
decimal + comment.

PR-URL: #281
Reviewed-by: Bert Belder <[email protected]>
Reviewed-by: Colin Ihrig <[email protected]>
@piscisaureus

piscisaureus commented Jan 10, 2015

Copy link
Copy Markdown
Contributor

Thanks @vkurchatkin! Landed in 7f9a6c6.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@piscisaureus piscisaureus closed this Jan 10, 2015
@snyk-bot snyk-bot mentioned this pull request Nov 10, 2021
[Snyk] Upgrade remark-preset-lint-node from 3.0.1 to 3.3.0 thisguy726/node#3
Open
@jesec jesec mentioned this pull request Jul 4, 2023
RFC: pkg 6.0 vercel/pkg#1655
Closed
This was referenced Nov 28, 2023
[Snyk] Security upgrade xo from 0.16.0 to 0.20.0 leonardoadame/node#207
Open
[Snyk] Security upgrade xo from 0.11.2 to 0.20.0 leonardoadame/node#209
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@vkurchatkin @brendanashworth @Fishrock123 @piscisaureus @cjihrig
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.