Skip to content

Conversation

thetutlage
Copy link

Octal literals are not allowed in strict mode, passed string to parseInt method to make it work.

@Slayer95
Copy link

Slayer95 commented Jul 7, 2015

You can just pass mode: '0666', and the fs module takes care of the conversion.

@brettz9
Copy link
Collaborator

brettz9 commented May 21, 2021

Closed by #227.

@brettz9 brettz9 closed this May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants