Fix `use strict`

* Fix `use strict` for `filesystem/index.js`
This commit is contained in:
Amir Jafarian 2016-10-19 14:07:14 -04:00
parent 447ced6c21
commit eabf221d12
1 changed files with 2 additions and 5 deletions

View File

@ -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 {