mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +00:00
Auto-merge for PR #570 via VersionBot
lib: add missing flag to openAsync()
This commit is contained in:
commit
d61c5fe640
@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file
|
||||
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## v7.1.3 - 2018-03-08
|
||||
|
||||
* Lib: add missing flag to openAsync() #570 [Petros Angelatos]
|
||||
|
||||
## v7.1.2 - 2018-03-08
|
||||
|
||||
* Compose: fix volume migration code #569 [Petros Angelatos]
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "resin-supervisor",
|
||||
"description": "This is resin.io's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as Resin's API informs it to.",
|
||||
"version": "7.1.2",
|
||||
"version": "7.1.3",
|
||||
"license": "Apache-2.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -19,6 +19,6 @@ exports.writeFileAtomic = (path, data) ->
|
||||
exports.safeRename = (src, dest) ->
|
||||
fs.renameAsync(src, dest)
|
||||
.then ->
|
||||
fs.openAsync(path.dirname(dest))
|
||||
fs.openAsync(path.dirname(dest), 'r')
|
||||
.tap(fs.fsyncAsync)
|
||||
.then(fs.closeAsync)
|
||||
|
Loading…
Reference in New Issue
Block a user