Skip to content

Commit 8ff3843

Browse files
authored
Merge pull request #841 from particle-iot/feature/set-initial-time
inject initial time on tachyon setup config blob
2 parents 8320817 + bc69724 commit 8ff3843

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cmd/setup-tachyon.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ module.exports = class SetupTachyonCommands extends CLICommandBase {
704704
config.cliConfig = await fs.readFile(profileFile, 'utf8');
705705
}
706706
}
707+
// inject initial time
708+
config['initialTime'] = new Date().toISOString();
707709

708710
// Write config JSON to a temporary file (generate a filename with the temp npm module)
709711
// prefixed by the JSON string length as a 32 bit integer

0 commit comments

Comments
 (0)