commit
b6528e184f
|
@ -2,10 +2,7 @@
|
|||
// Node module: loopback-component-storage
|
||||
// This file is licensed under the Artistic License 2.0.
|
||||
// License text available at https://opensource.org/licenses/Artistic-2.0
|
||||
|
||||
// Turning on strict for this file breaks;
|
||||
// disabling strict for this file
|
||||
/* eslint-disable strict */
|
||||
'use strict';
|
||||
|
||||
// Globalization
|
||||
var g = require('strong-globalize')();
|
||||
|
@ -176,7 +173,7 @@ FileSystemProvider.prototype.upload = function(options, cb) {
|
|||
|
||||
var fileOpts = {flags: options.flags || 'w+',
|
||||
encoding: options.encoding || null,
|
||||
mode: options.mode || 0666,
|
||||
mode: options.mode || parseInt('0666', 8),
|
||||
};
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue